Struct ics::properties::Categories
source · [−]pub struct Categories<'a> { /* private fields */ }
Expand description
CATEGORIES
Property
Implementations
sourceimpl<'a> Categories<'a>
impl<'a> Categories<'a>
sourceimpl<'a> Categories<'a>
impl<'a> Categories<'a>
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, parameters: Parameters<'a>)
pub fn append(&mut self, parameters: 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
sourceimpl<'a> Clone for Categories<'a>
impl<'a> Clone for Categories<'a>
sourcefn clone(&self) -> Categories<'a>
fn clone(&self) -> Categories<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for Categories<'a>
impl<'a> Debug for Categories<'a>
sourceimpl<'a> From<Categories<'a>> for Property<'a>
impl<'a> From<Categories<'a>> for Property<'a>
sourcefn from(builder: Categories<'a>) -> Self
fn from(builder: Categories<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> Hash for Categories<'a>
impl<'a> Hash for Categories<'a>
sourceimpl<'a> Ord for Categories<'a>
impl<'a> Ord for Categories<'a>
sourcefn cmp(&self, other: &Categories<'a>) -> Ordering
fn cmp(&self, other: &Categories<'a>) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<'a> PartialEq<Categories<'a>> for Categories<'a>
impl<'a> PartialEq<Categories<'a>> for Categories<'a>
sourcefn eq(&self, other: &Categories<'a>) -> bool
fn eq(&self, other: &Categories<'a>) -> bool
sourceimpl<'a> PartialOrd<Categories<'a>> for Categories<'a>
impl<'a> PartialOrd<Categories<'a>> for Categories<'a>
sourcefn partial_cmp(&self, other: &Categories<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &Categories<'a>) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl<'a> Eq for Categories<'a>
impl<'a> StructuralEq for Categories<'a>
impl<'a> StructuralPartialEq for Categories<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Categories<'a>
impl<'a> Send for Categories<'a>
impl<'a> Sync for Categories<'a>
impl<'a> Unpin for Categories<'a>
impl<'a> UnwindSafe for Categories<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more