#[repr(i64)]pub enum State {
Valid = 0,
Invalid = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
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 MulAssign for State
impl MulAssign for State
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Ord for State
impl Ord for State
Source§impl PartialOrd for State
impl PartialOrd for State
Source§impl VariantNames for State
impl VariantNames for State
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
impl Unpin for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl UnwindSafe for State
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> Stateful<S> for S
impl<S> Stateful<S> for S
Source§fn state(&self) -> S
fn state(&self) -> S
Stateful::state is used to get the state of the object
Source§fn update_state(&mut self, state: S)
fn update_state(&mut self, state: S)
Stateful::update_state is used to update the state of the object