Enum parcel_css::values::calc::MathFunction
source · [−]pub enum MathFunction<V> {
Calc(Calc<V>),
Min(Vec<Calc<V>>),
Max(Vec<Calc<V>>),
Clamp(Calc<V>, Calc<V>, Calc<V>),
}
Variants
Calc(Calc<V>)
Min(Vec<Calc<V>>)
Max(Vec<Calc<V>>)
Clamp(Calc<V>, Calc<V>, Calc<V>)
Trait Implementations
sourceimpl<V: Clone> Clone for MathFunction<V>
impl<V: Clone> Clone for MathFunction<V>
sourcefn clone(&self) -> MathFunction<V>
fn clone(&self) -> MathFunction<V>
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 more
sourceimpl<V: Debug> Debug for MathFunction<V>
impl<V: Debug> Debug for MathFunction<V>
sourceimpl<V: PartialEq> PartialEq<MathFunction<V>> for MathFunction<V>
impl<V: PartialEq> PartialEq<MathFunction<V>> for MathFunction<V>
sourcefn eq(&self, other: &MathFunction<V>) -> bool
fn eq(&self, other: &MathFunction<V>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MathFunction<V>) -> bool
fn ne(&self, other: &MathFunction<V>) -> bool
This method tests for !=
.
impl<V> StructuralPartialEq for MathFunction<V>
Auto Trait Implementations
impl<V> RefUnwindSafe for MathFunction<V> where
V: RefUnwindSafe,
impl<V> Send for MathFunction<V> where
V: Send,
impl<V> Sync for MathFunction<V> where
V: Sync,
impl<V> Unpin for MathFunction<V>
impl<V> UnwindSafe for MathFunction<V> where
V: UnwindSafe,
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more