Struct erg_parser::ast::Methods
source · [−]pub struct Methods {
pub class: TypeSpec,
pub vis: Token,
pub defs: RecordAttrs,
}
Expand description
e.g.
T = Class ...
T.
x = 1
f(a) = ...
Fields
class: TypeSpec
vis: Token
defs: RecordAttrs
Implementations
Trait Implementations
sourceimpl Locational for Methods
impl Locational for Methods
sourceimpl NestedDisplay for Methods
impl NestedDisplay for Methods
impl Eq for Methods
impl StructuralEq for Methods
impl StructuralPartialEq for Methods
Auto Trait Implementations
impl RefUnwindSafe for Methods
impl !Send for Methods
impl !Sync for Methods
impl Unpin for Methods
impl UnwindSafe for Methods
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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