pub struct BooleanSpan {
pub value: bool,
pub pos: LineCol,
}
Expand description
Components of a boolean literal expression.
Fields§
§value: bool
The boolean literal.
pos: LineCol
Starting position of the literal.
Trait Implementations§
Source§impl Clone for BooleanSpan
impl Clone for BooleanSpan
Source§fn clone(&self) -> BooleanSpan
fn clone(&self) -> BooleanSpan
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BooleanSpan
impl Debug for BooleanSpan
Source§impl PartialEq for BooleanSpan
impl PartialEq for BooleanSpan
impl Eq for BooleanSpan
impl StructuralPartialEq for BooleanSpan
Auto Trait Implementations§
impl Freeze for BooleanSpan
impl RefUnwindSafe for BooleanSpan
impl Send for BooleanSpan
impl Sync for BooleanSpan
impl Unpin for BooleanSpan
impl UnwindSafe for BooleanSpan
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