pub struct BooleanLit {
pub range: Range,
pub value: bool,
}
Expand description
Represents a boolean (ex. true
or false
).
Fields§
§range: Range
§value: bool
Trait Implementations§
Source§impl Clone for BooleanLit
impl Clone for BooleanLit
Source§fn clone(&self) -> BooleanLit
fn clone(&self) -> BooleanLit
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 BooleanLit
impl Debug for BooleanLit
Source§impl<'a, 'b> From<&'b BooleanLit> for Node<'a, 'b>
impl<'a, 'b> From<&'b BooleanLit> for Node<'a, 'b>
Source§fn from(node: &'b BooleanLit) -> Node<'a, 'b>
fn from(node: &'b BooleanLit) -> Node<'a, 'b>
Converts to this type from the input type.
Source§impl PartialEq for BooleanLit
impl PartialEq for BooleanLit
Source§impl Ranged for BooleanLit
impl Ranged for BooleanLit
impl StructuralPartialEq for BooleanLit
Auto Trait Implementations§
impl Freeze for BooleanLit
impl RefUnwindSafe for BooleanLit
impl Send for BooleanLit
impl Sync for BooleanLit
impl Unpin for BooleanLit
impl UnwindSafe for BooleanLit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)