pub struct UnitGuard {
pub symbols: &'static [&'static str],
}Expand description
A check on the span a kind’s pattern matched, where the kind’s standard defines one: the span is a number then one of these unit symbols, attached or one separator apart, so a number and a symbol a line apart are not fused.
Fields§
§symbols: &'static [&'static str]The symbols the span may end in.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnitGuard
impl RefUnwindSafe for UnitGuard
impl Send for UnitGuard
impl Sync for UnitGuard
impl Unpin for UnitGuard
impl UnsafeUnpin for UnitGuard
impl UnwindSafe for UnitGuard
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