Enum parser_fuck::common::Char
source · pub enum Char {
Char(char, Loc),
Wrap(Loc),
}
Expand description
Characters and newlines with location
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Char
impl<'de> Deserialize<'de> for Char
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 Ord for Char
impl Ord for Char
source§impl PartialEq for Char
impl PartialEq for Char
source§impl PartialOrd for Char
impl PartialOrd for Char
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 moreimpl Copy for Char
impl Eq for Char
impl StructuralEq for Char
impl StructuralPartialEq for Char
Auto Trait Implementations§
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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