#[repr(transparent)]pub struct Ssc2(pub u32);Expand description
TSI SSC Register 2
Tuple Fields§
§0: u32Implementations§
Source§impl Ssc2
impl Ssc2
Sourcepub const fn move_repeat_num(&self) -> MoveRepeatNum
pub const fn move_repeat_num(&self) -> MoveRepeatNum
MOVE_REPEAT_NUM
Sourcepub const fn set_move_repeat_num(&mut self, val: MoveRepeatNum)
pub const fn set_move_repeat_num(&mut self, val: MoveRepeatNum)
MOVE_REPEAT_NUM
Sourcepub const fn move_steps_num(&self) -> MoveStepsNum
pub const fn move_steps_num(&self) -> MoveStepsNum
MOVE_STEPS_NUM
Sourcepub const fn set_move_steps_num(&mut self, val: MoveStepsNum)
pub const fn set_move_steps_num(&mut self, val: MoveStepsNum)
MOVE_STEPS_NUM
Sourcepub const fn move_nocharge_max(&self) -> u8
pub const fn move_nocharge_max(&self) -> u8
MOVE_NOCHARGE_MAX
Sourcepub const fn set_move_nocharge_max(&mut self, val: u8)
pub const fn set_move_nocharge_max(&mut self, val: u8)
MOVE_NOCHARGE_MAX
Sourcepub const fn move_nocharge_min(&self) -> MoveNochargeMin
pub const fn move_nocharge_min(&self) -> MoveNochargeMin
MOVE_NOCHARGE_MIN
Sourcepub const fn set_move_nocharge_min(&mut self, val: MoveNochargeMin)
pub const fn set_move_nocharge_min(&mut self, val: MoveNochargeMin)
MOVE_NOCHARGE_MIN
Trait Implementations§
impl Copy for Ssc2
impl Eq for Ssc2
impl StructuralPartialEq for Ssc2
Auto Trait Implementations§
impl Freeze for Ssc2
impl RefUnwindSafe for Ssc2
impl Send for Ssc2
impl Sync for Ssc2
impl Unpin for Ssc2
impl UnwindSafe for Ssc2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more