Enum sierra::State [−][src]
pub enum State<T> {
Static {
value: T,
},
Dynamic,
}
Expand description
Wrapper for pipeline states that can be either static or dynamic.
Variants
Static state value.
Dynamic state marker, When some state is dynamic then it must be set via specific command before rendering.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for State<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for State<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more