pub enum DocumentPreludeField {
Span,
MatchingFunctions(usize),
}
Expand description
This enum represents fields of DocumentPreludeField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for DocumentPreludeField
impl Clone for DocumentPreludeField
source§fn clone(&self) -> DocumentPreludeField
fn clone(&self) -> DocumentPreludeField
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 DocumentPreludeField
impl Debug for DocumentPreludeField
source§impl<'de> Deserialize<'de> for DocumentPreludeField
impl<'de> Deserialize<'de> for DocumentPreludeField
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 Hash for DocumentPreludeField
impl Hash for DocumentPreludeField
source§impl Ord for DocumentPreludeField
impl Ord for DocumentPreludeField
source§fn cmp(&self, other: &DocumentPreludeField) -> Ordering
fn cmp(&self, other: &DocumentPreludeField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DocumentPreludeField
impl PartialEq for DocumentPreludeField
source§fn eq(&self, other: &DocumentPreludeField) -> bool
fn eq(&self, other: &DocumentPreludeField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DocumentPreludeField
impl PartialOrd for DocumentPreludeField
source§fn partial_cmp(&self, other: &DocumentPreludeField) -> Option<Ordering>
fn partial_cmp(&self, other: &DocumentPreludeField) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for DocumentPreludeField
impl Serialize for DocumentPreludeField
impl Copy for DocumentPreludeField
impl Eq for DocumentPreludeField
impl StructuralEq for DocumentPreludeField
impl StructuralPartialEq for DocumentPreludeField
Auto Trait Implementations§
impl RefUnwindSafe for DocumentPreludeField
impl Send for DocumentPreludeField
impl Sync for DocumentPreludeField
impl Unpin for DocumentPreludeField
impl UnwindSafe for DocumentPreludeField
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