pub struct PositiveU32(/* private fields */);Expand description
Strictly positive OpenType units-per-em transport value.
Implementations§
Trait Implementations§
Source§impl Clone for PositiveU32
impl Clone for PositiveU32
Source§fn clone(&self) -> PositiveU32
fn clone(&self) -> PositiveU32
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PositiveU32
Source§impl Debug for PositiveU32
impl Debug for PositiveU32
Source§impl<'de> Deserialize<'de> for PositiveU32
impl<'de> Deserialize<'de> for PositiveU32
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PositiveU32
Source§impl PartialEq for PositiveU32
impl PartialEq for PositiveU32
Source§impl Serialize for PositiveU32
impl Serialize for PositiveU32
impl StructuralPartialEq for PositiveU32
Auto Trait Implementations§
impl Freeze for PositiveU32
impl RefUnwindSafe for PositiveU32
impl Send for PositiveU32
impl Sync for PositiveU32
impl Unpin for PositiveU32
impl UnsafeUnpin for PositiveU32
impl UnwindSafe for PositiveU32
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.