pub struct props_distance7_persistent2(/* private fields */);Implementations§
source§impl props_distance7_persistent2
impl props_distance7_persistent2
pub const fn new() -> Self
pub const fn encode(self) -> u8
pub const fn decode(n: u8) -> Self
pub const fn persistent(self) -> prop_persistent
pub const fn distance(self) -> prop_distance_7
pub const fn with_persistent(self, persistent: prop_persistent) -> Self
pub const fn with_distance(self, distance: prop_distance_7) -> Self
Trait Implementations§
source§impl Clone for props_distance7_persistent2
impl Clone for props_distance7_persistent2
source§fn clone(&self) -> props_distance7_persistent2
fn clone(&self) -> props_distance7_persistent2
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_distance7_persistent2
impl Hash for props_distance7_persistent2
source§impl PartialEq for props_distance7_persistent2
impl PartialEq for props_distance7_persistent2
source§fn eq(&self, other: &props_distance7_persistent2) -> bool
fn eq(&self, other: &props_distance7_persistent2) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for props_distance7_persistent2
impl Eq for props_distance7_persistent2
impl StructuralPartialEq for props_distance7_persistent2
Auto Trait Implementations§
impl Freeze for props_distance7_persistent2
impl RefUnwindSafe for props_distance7_persistent2
impl Send for props_distance7_persistent2
impl Sync for props_distance7_persistent2
impl Unpin for props_distance7_persistent2
impl UnwindSafe for props_distance7_persistent2
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