Struct ics::properties::Class
source · pub struct Class<'a> { /* private fields */ }
Expand description
CLASS Property
Implementations§
source§impl<'a> Class<'a>
impl<'a> Class<'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 CLASS 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 Class<'a>
impl<'a> Ord for Class<'a>
source§impl<'a> PartialOrd<Class<'a>> for Class<'a>
impl<'a> PartialOrd<Class<'a>> for Class<'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