pub struct ConstantNode {
pub constant: Option<Constant>,
pub parent: Option<NodeIndex>,
}
Fields§
§constant: Option<Constant>
§parent: Option<NodeIndex>
Trait Implementations§
Source§impl Clone for ConstantNode
impl Clone for ConstantNode
Source§fn clone(&self) -> ConstantNode
fn clone(&self) -> ConstantNode
Returns a duplicate 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 ConstantNode
impl Debug for ConstantNode
Source§impl Default for ConstantNode
impl Default for ConstantNode
Source§fn default() -> ConstantNode
fn default() -> ConstantNode
Returns the “default value” for a type. Read more
Source§impl Display for ConstantNode
impl Display for ConstantNode
Source§impl PartialEq for ConstantNode
impl PartialEq for ConstantNode
impl Eq for ConstantNode
impl StructuralPartialEq for ConstantNode
Auto Trait Implementations§
impl Freeze for ConstantNode
impl RefUnwindSafe for ConstantNode
impl Send for ConstantNode
impl Sync for ConstantNode
impl Unpin for ConstantNode
impl UnwindSafe for ConstantNode
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