Struct donet_core::parser::ast::MethodAsField
source · pub struct MethodAsField {
pub span: Span,
pub identifier: String,
pub parameters: Vec<Parameter>,
}
Expand description
Paired with the method_as_field
production in the Context Free Grammar.
Fields§
§span: Span
§identifier: String
§parameters: Vec<Parameter>
Trait Implementations§
source§impl Clone for MethodAsField
impl Clone for MethodAsField
source§fn clone(&self) -> MethodAsField
fn clone(&self) -> MethodAsField
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 moreAuto Trait Implementations§
impl Freeze for MethodAsField
impl RefUnwindSafe for MethodAsField
impl Send for MethodAsField
impl Sync for MethodAsField
impl Unpin for MethodAsField
impl UnwindSafe for MethodAsField
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
)