Struct time::format_description::parse::ast::NestedFormatDescription
source · pub(super) struct NestedFormatDescription<'a> {
pub(super) _opening_bracket: Unused<Location>,
pub(super) items: Box<[Item<'a>]>,
pub(super) _closing_bracket: Unused<Location>,
pub(super) _trailing_whitespace: Unused<Option<Spanned<&'a [u8]>>>,
}
Expand description
A format description that is nested within another format description.
Fields§
§_opening_bracket: Unused<Location>
Where the opening bracket was in the format string.
items: Box<[Item<'a>]>
The items within the nested format description.
_closing_bracket: Unused<Location>
Where the closing bracket was in the format string.
_trailing_whitespace: Unused<Option<Spanned<&'a [u8]>>>
Whitespace between the closing bracket and the next item.
Auto Trait Implementations§
impl<'a> Freeze for NestedFormatDescription<'a>
impl<'a> RefUnwindSafe for NestedFormatDescription<'a>
impl<'a> Send for NestedFormatDescription<'a>
impl<'a> Sync for NestedFormatDescription<'a>
impl<'a> Unpin for NestedFormatDescription<'a>
impl<'a> UnwindSafe for NestedFormatDescription<'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