pub struct props_enabled2_facing5(/* private fields */);Implementations§
Source§impl props_enabled2_facing5
impl props_enabled2_facing5
pub const fn new() -> Self
pub const fn encode(self) -> u8
pub const fn decode(n: u8) -> Self
pub const fn facing(self) -> prop_facing_down_north_south_west_east
pub const fn enabled(self) -> prop_enabled
pub const fn with_facing( self, facing: prop_facing_down_north_south_west_east, ) -> Self
pub const fn with_enabled(self, enabled: prop_enabled) -> Self
Trait Implementations§
Source§impl Clone for props_enabled2_facing5
impl Clone for props_enabled2_facing5
Source§fn clone(&self) -> props_enabled2_facing5
fn clone(&self) -> props_enabled2_facing5
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for props_enabled2_facing5
impl Default for props_enabled2_facing5
Source§impl Hash for props_enabled2_facing5
impl Hash for props_enabled2_facing5
Source§impl PartialEq for props_enabled2_facing5
impl PartialEq for props_enabled2_facing5
impl Copy for props_enabled2_facing5
impl Eq for props_enabled2_facing5
impl StructuralPartialEq for props_enabled2_facing5
Auto Trait Implementations§
impl Freeze for props_enabled2_facing5
impl RefUnwindSafe for props_enabled2_facing5
impl Send for props_enabled2_facing5
impl Sync for props_enabled2_facing5
impl Unpin for props_enabled2_facing5
impl UnwindSafe for props_enabled2_facing5
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