pub(super) struct Modifier<'a> {
pub(super) _leading_whitespace: Unused<Spanned<&'a [u8]>>,
pub(super) key: Spanned<&'a [u8]>,
pub(super) _colon: Unused<Location>,
pub(super) value: Spanned<&'a [u8]>,
}
Expand description
A modifier for a component.
Fields§
§_leading_whitespace: Unused<Spanned<&'a [u8]>>
Whitespace preceding the modifier.
key: Spanned<&'a [u8]>
The key of the modifier.
_colon: Unused<Location>
Where the colon of the modifier was in the format string.
value: Spanned<&'a [u8]>
The value of the modifier.
Auto Trait Implementations§
impl<'a> Freeze for Modifier<'a>
impl<'a> RefUnwindSafe for Modifier<'a>
impl<'a> Send for Modifier<'a>
impl<'a> Sync for Modifier<'a>
impl<'a> Unpin for Modifier<'a>
impl<'a> UnwindSafe for Modifier<'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