pub struct CSIntervalAction {
var: CSVariable,
effect: IntervalActionEffect,
}Expand description
Effect of the application of a CSRule on CSVariable
Fields§
§var: CSVariableVariable
effect: IntervalActionEffectEffect
Implementations§
Source§impl CSIntervalAction
impl CSIntervalAction
Sourcefn from_interval_action(ctx: &IndexCtx, act: &IntervalTAAction) -> Self
fn from_interval_action(ctx: &IndexCtx, act: &IntervalTAAction) -> Self
Translate from an [IntervalTAAction] to a CSIntervalAction
Sourcepub fn variable(&self) -> &CSVariable
pub fn variable(&self) -> &CSVariable
Get the variable the action is applied to
Trait Implementations§
Source§impl Clone for CSIntervalAction
impl Clone for CSIntervalAction
Source§fn clone(&self) -> CSIntervalAction
fn clone(&self) -> CSIntervalAction
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 moreSource§impl Debug for CSIntervalAction
impl Debug for CSIntervalAction
Source§impl Hash for CSIntervalAction
impl Hash for CSIntervalAction
Source§impl PartialEq for CSIntervalAction
impl PartialEq for CSIntervalAction
impl Eq for CSIntervalAction
impl StructuralPartialEq for CSIntervalAction
Auto Trait Implementations§
impl Freeze for CSIntervalAction
impl RefUnwindSafe for CSIntervalAction
impl Send for CSIntervalAction
impl Sync for CSIntervalAction
impl Unpin for CSIntervalAction
impl UnwindSafe for CSIntervalAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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