Struct erg_parser::ast::ConstPosArg
source · pub struct ConstPosArg {
pub expr: ConstExpr,
}
Fields§
§expr: ConstExpr
Implementations§
Trait Implementations§
source§impl Clone for ConstPosArg
impl Clone for ConstPosArg
source§fn clone(&self) -> ConstPosArg
fn clone(&self) -> ConstPosArg
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 ConstPosArg
impl Debug for ConstPosArg
source§impl Hash for ConstPosArg
impl Hash for ConstPosArg
source§impl Locational for ConstPosArg
impl Locational for ConstPosArg
source§impl NestedDisplay for ConstPosArg
impl NestedDisplay for ConstPosArg
source§impl PartialEq for ConstPosArg
impl PartialEq for ConstPosArg
source§fn eq(&self, other: &ConstPosArg) -> bool
fn eq(&self, other: &ConstPosArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConstPosArg
impl StructuralPartialEq for ConstPosArg
Auto Trait Implementations§
impl Freeze for ConstPosArg
impl RefUnwindSafe for ConstPosArg
impl Send for ConstPosArg
impl Sync for ConstPosArg
impl Unpin for ConstPosArg
impl UnwindSafe for ConstPosArg
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