Struct valkyrie_ast::BooleanNode
source · pub struct BooleanNode {
pub value: bool,
pub span: Range<u32>,
}
Expand description
package∷module∷name
Fields§
§value: bool
true, false
span: Range<u32>
The range of the node
Implementations§
Trait Implementations§
source§impl Clone for BooleanNode
impl Clone for BooleanNode
source§fn clone(&self) -> BooleanNode
fn clone(&self) -> BooleanNode
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 BooleanNode
impl Debug for BooleanNode
source§impl Display for BooleanNode
impl Display for BooleanNode
source§impl From<BooleanNode> for ExpressionKind
impl From<BooleanNode> for ExpressionKind
source§fn from(o: BooleanNode) -> Self
fn from(o: BooleanNode) -> Self
Converts to this type from the input type.
source§impl Hash for BooleanNode
impl Hash for BooleanNode
source§impl PartialEq for BooleanNode
impl PartialEq for BooleanNode
source§fn eq(&self, other: &BooleanNode) -> bool
fn eq(&self, other: &BooleanNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValkyrieNode for BooleanNode
impl ValkyrieNode for BooleanNode
impl Eq for BooleanNode
impl StructuralPartialEq for BooleanNode
Auto Trait Implementations§
impl RefUnwindSafe for BooleanNode
impl Send for BooleanNode
impl Sync for BooleanNode
impl Unpin for BooleanNode
impl UnwindSafe for BooleanNode
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