pub struct DirectionalStatement<T> {
pub tf: T,
pub direction: SignalDirection,
pub strength: f64,
}Expand description
One active directional statement with a caller-defined timeframe key. Strength must be finite and non-negative; the caller chooses active statements.
Fields§
§tf: T§direction: SignalDirection§strength: f64Trait Implementations§
Source§impl<T: Clone> Clone for DirectionalStatement<T>
impl<T: Clone> Clone for DirectionalStatement<T>
Source§fn clone(&self) -> DirectionalStatement<T>
fn clone(&self) -> DirectionalStatement<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for DirectionalStatement<T>
impl<T: Debug> Debug for DirectionalStatement<T>
Source§impl<T: PartialEq> PartialEq for DirectionalStatement<T>
impl<T: PartialEq> PartialEq for DirectionalStatement<T>
impl<T: PartialEq> StructuralPartialEq for DirectionalStatement<T>
Auto Trait Implementations§
impl<T> Freeze for DirectionalStatement<T>where
T: Freeze,
impl<T> RefUnwindSafe for DirectionalStatement<T>where
T: RefUnwindSafe,
impl<T> Send for DirectionalStatement<T>where
T: Send,
impl<T> Sync for DirectionalStatement<T>where
T: Sync,
impl<T> Unpin for DirectionalStatement<T>where
T: Unpin,
impl<T> UnsafeUnpin for DirectionalStatement<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DirectionalStatement<T>where
T: UnwindSafe,
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