Struct erg_parser::ast::ConstKwArg
source · pub struct ConstKwArg {
pub keyword: Token,
pub expr: ConstExpr,
}
Fields§
§keyword: Token
§expr: ConstExpr
Implementations§
Trait Implementations§
source§impl Clone for ConstKwArg
impl Clone for ConstKwArg
source§fn clone(&self) -> ConstKwArg
fn clone(&self) -> ConstKwArg
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 ConstKwArg
impl Debug for ConstKwArg
source§impl Display for ConstKwArg
impl Display for ConstKwArg
source§impl Hash for ConstKwArg
impl Hash for ConstKwArg
source§impl Locational for ConstKwArg
impl Locational for ConstKwArg
source§impl NestedDisplay for ConstKwArg
impl NestedDisplay for ConstKwArg
source§impl PartialEq for ConstKwArg
impl PartialEq for ConstKwArg
impl Eq for ConstKwArg
impl StructuralPartialEq for ConstKwArg
Auto Trait Implementations§
impl Freeze for ConstKwArg
impl RefUnwindSafe for ConstKwArg
impl Send for ConstKwArg
impl Sync for ConstKwArg
impl Unpin for ConstKwArg
impl UnwindSafe for ConstKwArg
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
)