pub struct Member {
pub name: Name,
pub tpe: Type,
pub span: NodeSpan,
}Expand description
One member signature of a class: compare : a -> a -> Order.
Fields§
§name: Name§tpe: TypeThe signature as written, the class variable free in it. Outside the class the
member’s type is this with the class’s own constraint in front, which no
canonical Type can express; the class carries the constraint instead.
span: NodeSpanWhere the signature was written.
Trait Implementations§
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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