pub struct props_facing4_powered2(/* private fields */);Implementations§
Source§impl props_facing4_powered2
impl props_facing4_powered2
pub const fn new() -> Self
pub const fn encode(self) -> u8
pub const fn decode(n: u8) -> Self
pub const fn powered(self) -> prop_powered
pub const fn facing(self) -> prop_facing_north_south_west_east
pub const fn with_powered(self, powered: prop_powered) -> Self
pub const fn with_facing( self, facing: prop_facing_north_south_west_east, ) -> Self
Trait Implementations§
Source§impl Clone for props_facing4_powered2
impl Clone for props_facing4_powered2
Source§fn clone(&self) -> props_facing4_powered2
fn clone(&self) -> props_facing4_powered2
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_facing4_powered2
impl Default for props_facing4_powered2
Source§impl Hash for props_facing4_powered2
impl Hash for props_facing4_powered2
Source§impl PartialEq for props_facing4_powered2
impl PartialEq for props_facing4_powered2
impl Copy for props_facing4_powered2
impl Eq for props_facing4_powered2
impl StructuralPartialEq for props_facing4_powered2
Auto Trait Implementations§
impl Freeze for props_facing4_powered2
impl RefUnwindSafe for props_facing4_powered2
impl Send for props_facing4_powered2
impl Sync for props_facing4_powered2
impl Unpin for props_facing4_powered2
impl UnwindSafe for props_facing4_powered2
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