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