Struct ics::properties::Trigger
source · pub struct Trigger<'a> { /* private fields */ }
Expand description
TRIGGER Property
Implementations§
source§impl<'a> Trigger<'a>
impl<'a> Trigger<'a>
sourcepub fn new<S>(value: S) -> Selfwhere
S: Into<Cow<'a, str>>,
pub fn new<S>(value: S) -> Selfwhere
S: Into<Cow<'a, str>>,
Creates a new TRIGGER Property with the given value.
sourcepub fn add<P>(&mut self, parameter: P)where
P: Into<Parameter<'a>>,
pub fn add<P>(&mut self, parameter: P)where
P: Into<Parameter<'a>>,
Adds a parameter to the property.
sourcepub fn append(&mut self, parameter: Parameters<'a>)
pub fn append(&mut self, parameter: Parameters<'a>)
Adds several parameters at once to the property. For creating
several parameters at once, consult the documentation of
the parameters!
macro.
Trait Implementations§
source§impl<'a> Ord for Trigger<'a>
impl<'a> Ord for Trigger<'a>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq<Trigger<'a>> for Trigger<'a>
impl<'a> PartialEq<Trigger<'a>> for Trigger<'a>
source§impl<'a> PartialOrd<Trigger<'a>> for Trigger<'a>
impl<'a> PartialOrd<Trigger<'a>> for Trigger<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more