pub struct ClassDecl {
pub span: Span,
pub is_pub: bool,
pub name: Symbol,
pub params: Vec<Symbol>,
pub supers: Vec<TypeConstraint>,
pub methods: Vec<ClassMethodSig>,
}Fields§
§span: Span§is_pub: bool§name: Symbol§params: Vec<Symbol>§supers: Vec<TypeConstraint>§methods: Vec<ClassMethodSig>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClassDecl
impl<'de> Deserialize<'de> for ClassDecl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ClassDecl
Auto Trait Implementations§
impl Freeze for ClassDecl
impl RefUnwindSafe for ClassDecl
impl Send for ClassDecl
impl Sync for ClassDecl
impl Unpin for ClassDecl
impl UnsafeUnpin for ClassDecl
impl UnwindSafe for ClassDecl
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