pub struct props_powered2_rotation16(/* private fields */);Implementations§
source§impl props_powered2_rotation16
impl props_powered2_rotation16
pub const fn new() -> Self
pub const fn encode(self) -> u8
pub const fn decode(n: u8) -> Self
pub const fn rotation(self) -> prop_rotation
pub const fn powered(self) -> prop_powered
pub const fn with_rotation(self, rotation: prop_rotation) -> Self
pub const fn with_powered(self, powered: prop_powered) -> Self
Trait Implementations§
source§impl Clone for props_powered2_rotation16
impl Clone for props_powered2_rotation16
source§fn clone(&self) -> props_powered2_rotation16
fn clone(&self) -> props_powered2_rotation16
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 Hash for props_powered2_rotation16
impl Hash for props_powered2_rotation16
source§impl PartialEq for props_powered2_rotation16
impl PartialEq for props_powered2_rotation16
source§fn eq(&self, other: &props_powered2_rotation16) -> bool
fn eq(&self, other: &props_powered2_rotation16) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for props_powered2_rotation16
impl Eq for props_powered2_rotation16
impl StructuralEq for props_powered2_rotation16
impl StructuralPartialEq for props_powered2_rotation16
Auto Trait Implementations§
impl RefUnwindSafe for props_powered2_rotation16
impl Send for props_powered2_rotation16
impl Sync for props_powered2_rotation16
impl Unpin for props_powered2_rotation16
impl UnwindSafe for props_powered2_rotation16
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