pub struct TermDisplayConst<'a> {
pub matcher: MatcherConst<'a>,
pub formatter: FormatterConst<'a>,
}Fields§
§matcher: MatcherConst<'a>§formatter: FormatterConst<'a>Implementations§
Source§impl<'a> TermDisplayConst<'a>
impl<'a> TermDisplayConst<'a>
pub const fn parse(m: &'a str, f: &'a str) -> ResultConst<'a, Self>
Trait Implementations§
Source§impl<'a> Debug for TermDisplayConst<'a>
impl<'a> Debug for TermDisplayConst<'a>
Source§impl TryFrom<TermDisplayConst<'_>> for TermDisplay
impl TryFrom<TermDisplayConst<'_>> for TermDisplay
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for TermDisplayConst<'a>
impl<'a> RefUnwindSafe for TermDisplayConst<'a>
impl<'a> Send for TermDisplayConst<'a>
impl<'a> Sync for TermDisplayConst<'a>
impl<'a> Unpin for TermDisplayConst<'a>
impl<'a> UnwindSafe for TermDisplayConst<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more