pub struct TraceContext<'a> {
pub rotation: &'a Rotation,
pub schema: &'a ContextSchema,
pub resolver: &'a SpecResolver,
pub table: &'a DescriptorTable,
pub buffer: &'a mut DenseBuffer,
pub now_secs: f64,
}Expand description
Borrowed evaluation context for condition_label_with_values.
Fields§
§rotation: &'a Rotation§schema: &'a ContextSchema§resolver: &'a SpecResolver§table: &'a DescriptorTable§buffer: &'a mut DenseBuffer§now_secs: f64Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TraceContext<'a>
impl<'a> RefUnwindSafe for TraceContext<'a>
impl<'a> Send for TraceContext<'a>
impl<'a> Sync for TraceContext<'a>
impl<'a> Unpin for TraceContext<'a>
impl<'a> UnsafeUnpin for TraceContext<'a>
impl<'a> !UnwindSafe for TraceContext<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more