Struct edlang_ast::StructImpl
source · pub struct StructImpl {
pub name: Ident,
pub generics: Vec<Type>,
pub methods: Vec<Function>,
pub span: Span,
}
Fields§
§name: Ident
§generics: Vec<Type>
§methods: Vec<Function>
§span: Span
Trait Implementations§
source§impl Clone for StructImpl
impl Clone for StructImpl
source§fn clone(&self) -> StructImpl
fn clone(&self) -> StructImpl
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 StructImpl
impl Debug for StructImpl
source§impl Hash for StructImpl
impl Hash for StructImpl
source§impl Ord for StructImpl
impl Ord for StructImpl
source§fn cmp(&self, other: &StructImpl) -> Ordering
fn cmp(&self, other: &StructImpl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for StructImpl
impl PartialEq for StructImpl
source§fn eq(&self, other: &StructImpl) -> bool
fn eq(&self, other: &StructImpl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StructImpl
impl PartialOrd for StructImpl
source§fn partial_cmp(&self, other: &StructImpl) -> Option<Ordering>
fn partial_cmp(&self, other: &StructImpl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for StructImpl
impl StructuralPartialEq for StructImpl
Auto Trait Implementations§
impl RefUnwindSafe for StructImpl
impl Send for StructImpl
impl Sync for StructImpl
impl Unpin for StructImpl
impl UnwindSafe for StructImpl
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