pub enum IffPresence {
NotPresent,
Present,
}Expand description
Custom defined enum to model the presence of an element in an IFF system
Variants§
Trait Implementations§
Source§impl Clone for IffPresence
impl Clone for IffPresence
Source§fn clone(&self) -> IffPresence
fn clone(&self) -> IffPresence
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 IffPresence
impl Debug for IffPresence
Source§impl Default for IffPresence
impl Default for IffPresence
Source§fn default() -> IffPresence
fn default() -> IffPresence
Returns the “default value” for a type. Read more
Source§impl From<&IffPresence> for u32
impl From<&IffPresence> for u32
Source§fn from(value: &IffPresence) -> Self
fn from(value: &IffPresence) -> Self
Converts to this type from the input type.
Source§impl From<&IffPresence> for u8
impl From<&IffPresence> for u8
Source§fn from(value: &IffPresence) -> Self
fn from(value: &IffPresence) -> Self
Converts to this type from the input type.
Source§impl From<u8> for IffPresence
impl From<u8> for IffPresence
Source§impl PartialEq for IffPresence
impl PartialEq for IffPresence
impl StructuralPartialEq for IffPresence
Auto Trait Implementations§
impl Freeze for IffPresence
impl RefUnwindSafe for IffPresence
impl Send for IffPresence
impl Sync for IffPresence
impl Unpin for IffPresence
impl UnwindSafe for IffPresence
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