Enum cyfs_lib::TrackerDirection
source · [−]#[repr(u8)]
pub enum TrackerDirection {
Unknown,
From,
To,
Store,
}
Variants
Unknown
From
To
Store
Trait Implementations
sourceimpl Clone for TrackerDirection
impl Clone for TrackerDirection
sourcefn clone(&self) -> TrackerDirection
fn clone(&self) -> TrackerDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TrackerDirection
impl Debug for TrackerDirection
sourceimpl From<u8> for TrackerDirection
impl From<u8> for TrackerDirection
sourcefn from(code: u8) -> TrackerDirection
fn from(code: u8) -> TrackerDirection
Converts to this type from the input type.
sourceimpl IntEnum for TrackerDirection
impl IntEnum for TrackerDirection
sourcefn int_value(self) -> <TrackerDirection as IntEnum>::Int
fn int_value(self) -> <TrackerDirection as IntEnum>::Int
Returns the integer value of the enum.
sourcefn from_int(
n: <TrackerDirection as IntEnum>::Int
) -> Result<TrackerDirection, IntEnumError<TrackerDirection>> where
TrackerDirection: Sized,
fn from_int(
n: <TrackerDirection as IntEnum>::Int
) -> Result<TrackerDirection, IntEnumError<TrackerDirection>> where
TrackerDirection: Sized,
Attempts to convert an integer into the enum.
sourceimpl Into<u8> for TrackerDirection
impl Into<u8> for TrackerDirection
sourceimpl PartialEq<TrackerDirection> for TrackerDirection
impl PartialEq<TrackerDirection> for TrackerDirection
impl Copy for TrackerDirection
impl Eq for TrackerDirection
impl StructuralEq for TrackerDirection
impl StructuralPartialEq for TrackerDirection
Auto Trait Implementations
impl RefUnwindSafe for TrackerDirection
impl Send for TrackerDirection
impl Sync for TrackerDirection
impl Unpin for TrackerDirection
impl UnwindSafe for TrackerDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more