Struct donet_core::parser::ast::NonMethodType
source · pub struct NonMethodType {
pub span: Span,
pub identifier: Option<String>,
pub data_type: NonMethodDataType,
}
Expand description
Paired with the nonmethod_type
production in the Context Free Grammar.
Fields§
§span: Span
§identifier: Option<String>
§data_type: NonMethodDataType
Trait Implementations§
source§impl Clone for NonMethodType
impl Clone for NonMethodType
source§fn clone(&self) -> NonMethodType
fn clone(&self) -> NonMethodType
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 NonMethodType
impl Debug for NonMethodType
source§impl From<NonMethodType> for Parameter
impl From<NonMethodType> for Parameter
source§fn from(value: NonMethodType) -> Self
fn from(value: NonMethodType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NonMethodType
impl RefUnwindSafe for NonMethodType
impl Send for NonMethodType
impl Sync for NonMethodType
impl Unpin for NonMethodType
impl UnwindSafe for NonMethodType
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
)