pub struct LowLine;Expand description
A delimiter which is the ASCII character LOW LINE (_).
Trait Implementations§
impl Copy for LowLine
impl Eq for LowLine
Source§impl From<LowLine> for AsciiFlatLine
impl From<LowLine> for AsciiFlatLine
Source§impl From<LowLine> for AsciiPunctuation
impl From<LowLine> for AsciiPunctuation
Source§impl Ord for LowLine
impl Ord for LowLine
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<D: Delimiter> PartialOrd<D> for LowLine
impl<D: Delimiter> PartialOrd<D> for LowLine
Source§impl PartialOrd<LowLine> for char
impl PartialOrd<LowLine> for char
Source§impl PartialOrd<char> for LowLine
impl PartialOrd<char> for LowLine
impl SubsetOf<AsciiFlatLine> for LowLine
Proof: AsciiFlatLine very obviously contains a flat-line symbol (‘_’ or ‘-’).
impl SubsetOf<AsciiPunctuation> for LowLine
Proof: AsciiPunctuation very obviously contains a flat-line symbol (‘_’ or ‘-’).
impl SubsetOf<LowLine> for LowLine
Proof: It’s always safe to implement this against yourself.
Source§impl TryFrom<AsciiFlatLine> for LowLine
impl TryFrom<AsciiFlatLine> for LowLine
Source§type Error = TryFromCharError
type Error = TryFromCharError
The type returned in the event of a conversion error.
Source§impl TryFrom<AsciiPunctuation> for LowLine
impl TryFrom<AsciiPunctuation> for LowLine
Source§type Error = TryFromCharError
type Error = TryFromCharError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for LowLine
impl RefUnwindSafe for LowLine
impl Send for LowLine
impl Sync for LowLine
impl Unpin for LowLine
impl UnsafeUnpin for LowLine
impl UnwindSafe for LowLine
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,
Source§impl<D> Delimiter for Dwhere
D: UnitDelimiter,
impl<D> Delimiter for Dwhere
D: UnitDelimiter,
Source§const APPEND_CLOSED: AppendClosed = const APPEND_CLOSED: AppendClosed = AppendClosed::Identifier;
const APPEND_CLOSED: AppendClosed = const APPEND_CLOSED: AppendClosed = AppendClosed::Identifier;
Whether or not a fragment containing only this type of delimiters would
be considered append-closed. Read more
Source§fn as_char(&self) -> char
fn as_char(&self) -> char
Returns the original character representation of this delimiter value.
Source§fn find_delimiter(fragment: &str) -> Option<usize>
fn find_delimiter(fragment: &str) -> Option<usize>
Finds the next index that a delimiter would be present on. Read more
Source§fn rfind_delimiter(fragment: &str) -> Option<usize>
fn rfind_delimiter(fragment: &str) -> Option<usize>
Finds the next index from the back that a delimiter would be present on. Read more
Source§fn from_char(c: char) -> Option<D>
fn from_char(c: char) -> Option<D>
Attempts to convert a character to any valid delimiter value. Read more
Source§fn from_ident_start(c: char) -> Option<D>
fn from_ident_start(c: char) -> Option<D>
Attempts to convert a character to a delimiter which is valid only at
the absolute start of an identifier. Read more
Source§fn from_chunk_delim(c: char) -> Option<D>
fn from_chunk_delim(c: char) -> Option<D>
Attempts to convert a character to a delimiter which is valid at any
position other than the absolute start of an identifier.