pub struct SubFormatterRepeatConst<'a> {
pub range: ChildRange,
pub left_sep: SubFormatterRepeatSeparator<'a>,
pub middle_sep: SubFormatterRepeatSeparator<'a>,
pub right_sep: SubFormatterRepeatSeparator<'a>,
pub left: BindPower,
pub middle: BindPowerPair,
pub right: BindPower,
}
Fields§
§range: ChildRange
§left_sep: SubFormatterRepeatSeparator<'a>
§middle_sep: SubFormatterRepeatSeparator<'a>
§right_sep: SubFormatterRepeatSeparator<'a>
§left: BindPower
§middle: BindPowerPair
§right: BindPower
Implementations§
Source§impl<'a> SubFormatterRepeatConst<'a>
impl<'a> SubFormatterRepeatConst<'a>
pub const fn parse(s: &'a str) -> ResultFormatterConst<'a, Self>
Trait Implementations§
Source§impl<'a> Debug for SubFormatterRepeatConst<'a>
impl<'a> Debug for SubFormatterRepeatConst<'a>
Source§impl TryFrom<SubFormatterRepeatConst<'_>> for SubFormatterRepeat
impl TryFrom<SubFormatterRepeatConst<'_>> for SubFormatterRepeat
Source§type Error = ParseError<FormatterError>
type Error = ParseError<FormatterError>
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for SubFormatterRepeatConst<'a>
impl<'a> RefUnwindSafe for SubFormatterRepeatConst<'a>
impl<'a> Send for SubFormatterRepeatConst<'a>
impl<'a> Sync for SubFormatterRepeatConst<'a>
impl<'a> Unpin for SubFormatterRepeatConst<'a>
impl<'a> UnwindSafe for SubFormatterRepeatConst<'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