Enum prodash::unit::Kind [−][src]
pub enum Kind { Label(&'static str), Dynamic(Arc<dyn DisplayValue + Send + Sync>), }
Expand description
Either a static label or a dynamic one implementing DisplayValue
.
Variants
Display only the given statically known label.
Tuple Fields of Label
0: &'static str
Display a label created dynamically.
Tuple Fields of Dynamic
0: Arc<dyn DisplayValue + Send + Sync>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Kind
impl !UnwindSafe for Kind
Blanket Implementations
Mutably borrows from an owned value. Read more