#[repr(u8)]pub enum TraceDirection {
DirectionIn = 0,
DirectionOut = 1,
}
Expand description
The enum TraceDirection
in the namespace FBS.Common
Generated from these locations:
- Enum
TraceDirection
in the filefbs/common.fbs:29
Variants§
DirectionIn = 0
The variant DIRECTION_IN
in the enum TraceDirection
DirectionOut = 1
The variant DIRECTION_OUT
in the enum TraceDirection
Implementations§
Source§impl TraceDirection
impl TraceDirection
Sourcepub const ENUM_VALUES: [Self; 2]
pub const ENUM_VALUES: [Self; 2]
Array containing all valid variants of TraceDirection
Trait Implementations§
Source§impl Clone for TraceDirection
impl Clone for TraceDirection
Source§fn clone(&self) -> TraceDirection
fn clone(&self) -> TraceDirection
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 Debug for TraceDirection
impl Debug for TraceDirection
Source§impl<'de> Deserialize<'de> for TraceDirection
impl<'de> Deserialize<'de> for TraceDirection
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<TraceDirection> for u8
impl From<TraceDirection> for u8
Source§fn from(value: TraceDirection) -> Self
fn from(value: TraceDirection) -> Self
Converts to this type from the input type.
Source§impl Hash for TraceDirection
impl Hash for TraceDirection
Source§impl Ord for TraceDirection
impl Ord for TraceDirection
Source§fn cmp(&self, other: &TraceDirection) -> Ordering
fn cmp(&self, other: &TraceDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TraceDirection
impl PartialEq for TraceDirection
Source§impl PartialOrd for TraceDirection
impl PartialOrd for TraceDirection
Source§impl Serialize for TraceDirection
impl Serialize for TraceDirection
Source§impl TryFrom<u8> for TraceDirection
impl TryFrom<u8> for TraceDirection
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for TraceDirection
impl Eq for TraceDirection
impl StructuralPartialEq for TraceDirection
impl VectorWrite<TraceDirection> for TraceDirection
impl WriteAs<TraceDirection> for TraceDirection
impl WriteAsDefault<TraceDirection, TraceDirection> for TraceDirection
impl WriteAsOptional<TraceDirection> for TraceDirection
Auto Trait Implementations§
impl Freeze for TraceDirection
impl RefUnwindSafe for TraceDirection
impl Send for TraceDirection
impl Sync for TraceDirection
impl Unpin for TraceDirection
impl UnwindSafe for TraceDirection
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