pub enum ExprProfile {
ElapsedTime(ExprProfileElapsedTime),
ElapsedTiming(ExprProfileElapsedTiming),
Profile(ExprProfileProfile),
Time(ExprProfileTime),
Timing(ExprProfileTiming),
}Expand description
Enum generated by strutuct! for ExprProfile.
Variants§
ElapsedTime(ExprProfileElapsedTime)
Variant ExprProfile::ElapsedTime generated by strutuct!.
ElapsedTiming(ExprProfileElapsedTiming)
Variant ExprProfile::ElapsedTiming generated by strutuct!.
Profile(ExprProfileProfile)
Variant ExprProfile::Profile generated by strutuct!.
Time(ExprProfileTime)
Variant ExprProfile::Time generated by strutuct!.
Timing(ExprProfileTiming)
Variant ExprProfile::Timing generated by strutuct!.
Trait Implementations§
Source§impl Debug for ExprProfile
impl Debug for ExprProfile
Source§impl From<ExprProfile> for Component
impl From<ExprProfile> for Component
Source§fn from(value: ExprProfile) -> Self
fn from(value: ExprProfile) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfile> for Expr
impl From<ExprProfile> for Expr
Source§fn from(value: ExprProfile) -> Self
fn from(value: ExprProfile) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfile> for PackedContent
impl From<ExprProfile> for PackedContent
Source§fn from(value: ExprProfile) -> Self
fn from(value: ExprProfile) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileElapsedTime> for ExprProfile
impl From<ExprProfileElapsedTime> for ExprProfile
Source§fn from(value: ExprProfileElapsedTime) -> Self
fn from(value: ExprProfileElapsedTime) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileElapsedTiming> for ExprProfile
impl From<ExprProfileElapsedTiming> for ExprProfile
Source§fn from(value: ExprProfileElapsedTiming) -> Self
fn from(value: ExprProfileElapsedTiming) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileProfile> for ExprProfile
impl From<ExprProfileProfile> for ExprProfile
Source§fn from(value: ExprProfileProfile) -> Self
fn from(value: ExprProfileProfile) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileTime> for ExprProfile
impl From<ExprProfileTime> for ExprProfile
Source§fn from(value: ExprProfileTime) -> Self
fn from(value: ExprProfileTime) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileTiming> for ExprProfile
impl From<ExprProfileTiming> for ExprProfile
Source§fn from(value: ExprProfileTiming) -> Self
fn from(value: ExprProfileTiming) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprProfile
impl Lex for ExprProfile
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for ExprProfilewhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprProfilewhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprProfile
impl PrettyTree for ExprProfile
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for ExprProfile
impl RefUnwindSafe for ExprProfile
impl Send for ExprProfile
impl Sync for ExprProfile
impl Unpin for ExprProfile
impl UnsafeUnpin for ExprProfile
impl UnwindSafe for ExprProfile
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