pub struct ExtendsClause {
pub extends_span: Span,
pub supertype: Type,
}Expand description
An extends clause: extends SuperClass.
Fields§
§extends_span: Span§supertype: TypeTrait Implementations§
Source§impl Clone for ExtendsClause
impl Clone for ExtendsClause
Source§fn clone(&self) -> ExtendsClause
fn clone(&self) -> ExtendsClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtendsClause
impl Debug for ExtendsClause
impl Eq for ExtendsClause
Source§impl Hash for ExtendsClause
impl Hash for ExtendsClause
Source§impl PartialEq for ExtendsClause
impl PartialEq for ExtendsClause
Source§fn eq(&self, other: &ExtendsClause) -> bool
fn eq(&self, other: &ExtendsClause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtendsClause
Auto Trait Implementations§
impl Freeze for ExtendsClause
impl RefUnwindSafe for ExtendsClause
impl Send for ExtendsClause
impl Sync for ExtendsClause
impl Unpin for ExtendsClause
impl UnsafeUnpin for ExtendsClause
impl UnwindSafe for ExtendsClause
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