pub enum SignalValue {
Scalar(f64),
Vector(Vec<f64>),
Boolean(bool),
Categorical(&'static str),
}Expand description
The value of a derived signal.
Variants§
Scalar(f64)
A single scalar value.
Vector(Vec<f64>)
A numeric vector (feature vector, histogram, etc.).
Boolean(bool)
A boolean flag.
Categorical(&'static str)
A categorical value — a compile-time label.
Trait Implementations§
Source§impl Clone for SignalValue
impl Clone for SignalValue
Source§fn clone(&self) -> SignalValue
fn clone(&self) -> SignalValue
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SignalValue
impl RefUnwindSafe for SignalValue
impl Send for SignalValue
impl Sync for SignalValue
impl Unpin for SignalValue
impl UnsafeUnpin for SignalValue
impl UnwindSafe for SignalValue
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