#[repr(u8)]pub enum BoostState {
Inactive = 0,
Active = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BoostState
impl Clone for BoostState
Source§fn clone(&self) -> BoostState
fn clone(&self) -> BoostState
Returns a duplicate 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 Debug for BoostState
impl Debug for BoostState
Source§impl<'de> Deserialize<'de> for BoostState
impl<'de> Deserialize<'de> for BoostState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BoostState> for u8
impl From<BoostState> for u8
Source§fn from(val: BoostState) -> Self
fn from(val: BoostState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BoostState
impl PartialEq for BoostState
Source§impl Serialize for BoostState
impl Serialize for BoostState
impl Copy for BoostState
impl Eq for BoostState
impl StructuralPartialEq for BoostState
Auto Trait Implementations§
impl Freeze for BoostState
impl RefUnwindSafe for BoostState
impl Send for BoostState
impl Sync for BoostState
impl Unpin for BoostState
impl UnwindSafe for BoostState
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