Enum glifparser::anchor::AnchorType
source · pub enum AnchorType {
Mark,
Base,
}Variants§
Implementations§
source§impl AnchorType
impl AnchorType
source§impl AnchorType
impl AnchorType
pub fn unwrap_mark(self)
pub fn unwrap_base(self)
Trait Implementations§
source§impl Clone for AnchorType
impl Clone for AnchorType
source§fn clone(&self) -> AnchorType
fn clone(&self) -> AnchorType
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 AnchorType
impl Debug for AnchorType
source§impl Default for AnchorType
impl Default for AnchorType
source§impl<'de> Deserialize<'de> for AnchorType
impl<'de> Deserialize<'de> for AnchorType
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
source§impl<S: Into<Self>> FromOption<S> for AnchorType
impl<S: Into<Self>> FromOption<S> for AnchorType
fn from_option(s: Option<S>) -> AnchorType
source§impl PartialEq<AnchorType> for AnchorType
impl PartialEq<AnchorType> for AnchorType
source§fn eq(&self, other: &AnchorType) -> bool
fn eq(&self, other: &AnchorType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AnchorType
impl Serialize for AnchorType
impl Eq for AnchorType
impl StructuralEq for AnchorType
impl StructuralPartialEq for AnchorType
Auto Trait Implementations§
impl RefUnwindSafe for AnchorType
impl Send for AnchorType
impl Sync for AnchorType
impl Unpin for AnchorType
impl UnwindSafe for AnchorType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.