pub struct Bool<'input> {
pub loc: Loc,
pub value: &'input str,
}
Expand description
A boolean constant.
Fields§
§loc: Loc
§value: &'input str
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Bool<'input>
Auto Trait Implementations§
impl<'input> Freeze for Bool<'input>
impl<'input> RefUnwindSafe for Bool<'input>
impl<'input> Send for Bool<'input>
impl<'input> Sync for Bool<'input>
impl<'input> Unpin for Bool<'input>
impl<'input> UnwindSafe for Bool<'input>
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