Enum tfm::pl::ast::DesignSize
source · pub enum DesignSize {
Valid(Number),
Invalid,
}
Expand description
Design size of the font.
Variants§
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DesignSize
impl<'arbitrary> Arbitrary<'arbitrary> for DesignSize
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for DesignSize
impl Clone for DesignSize
source§fn clone(&self) -> DesignSize
fn clone(&self) -> DesignSize
Returns a copy 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 DesignSize
impl Debug for DesignSize
source§impl Default for DesignSize
impl Default for DesignSize
source§impl From<Number> for DesignSize
impl From<Number> for DesignSize
source§impl PartialEq<DesignSize> for DesignSize
impl PartialEq<DesignSize> for DesignSize
source§fn eq(&self, other: &DesignSize) -> bool
fn eq(&self, other: &DesignSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DesignSize
impl Eq for DesignSize
impl StructuralEq for DesignSize
impl StructuralPartialEq for DesignSize
Auto Trait Implementations§
impl RefUnwindSafe for DesignSize
impl Send for DesignSize
impl Sync for DesignSize
impl Unpin for DesignSize
impl UnwindSafe for DesignSize
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