Struct erg_parser::ast::SubrSignature
source · [−]pub struct SubrSignature {
pub decorators: Set<Decorator>,
pub name: VarName,
pub params: Params,
pub return_t_spec: Option<TypeSpec>,
pub bounds: TypeBoundSpecs,
}
Expand description
引数を取るならTypeでもSubr扱い
Fields
decorators: Set<Decorator>
name: VarName
params: Params
return_t_spec: Option<TypeSpec>
bounds: TypeBoundSpecs
Implementations
Trait Implementations
sourceimpl Clone for SubrSignature
impl Clone for SubrSignature
sourcefn clone(&self) -> SubrSignature
fn clone(&self) -> SubrSignature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SubrSignature
impl Debug for SubrSignature
sourceimpl Display for SubrSignature
impl Display for SubrSignature
sourceimpl Hash for SubrSignature
impl Hash for SubrSignature
sourceimpl Locational for SubrSignature
impl Locational for SubrSignature
sourceimpl NestedDisplay for SubrSignature
impl NestedDisplay for SubrSignature
sourceimpl PartialEq<SubrSignature> for SubrSignature
impl PartialEq<SubrSignature> for SubrSignature
sourcefn eq(&self, other: &SubrSignature) -> bool
fn eq(&self, other: &SubrSignature) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SubrSignature) -> bool
fn ne(&self, other: &SubrSignature) -> bool
This method tests for !=
.
impl Eq for SubrSignature
impl StructuralEq for SubrSignature
impl StructuralPartialEq for SubrSignature
Auto Trait Implementations
impl !RefUnwindSafe for SubrSignature
impl !Send for SubrSignature
impl !Sync for SubrSignature
impl Unpin for SubrSignature
impl !UnwindSafe for SubrSignature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more