pub struct ClassIR {
pub name: String,
pub span: SpanIR,
pub body_span: SpanIR,
pub is_abstract: bool,
pub type_params: Vec<String>,
pub heritage: Vec<String>,
pub decorators: Vec<DecoratorIR>,
pub decorators_ast: Vec<Decorator>,
pub fields: Vec<FieldIR>,
pub methods: Vec<MethodSigIR>,
pub members: Vec<ClassMember>,
}Fields§
§name: String§span: SpanIR§body_span: SpanIR§is_abstract: bool§type_params: Vec<String>§heritage: Vec<String>§decorators: Vec<DecoratorIR>§decorators_ast: Vec<Decorator>§fields: Vec<FieldIR>§methods: Vec<MethodSigIR>§members: Vec<ClassMember>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClassIR
impl<'de> Deserialize<'de> for ClassIR
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClassIR, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClassIR, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ClassIR
impl Serialize for ClassIR
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ClassIR
Auto Trait Implementations§
impl Freeze for ClassIR
impl RefUnwindSafe for ClassIR
impl Send for ClassIR
impl Sync for ClassIR
impl Unpin for ClassIR
impl UnwindSafe for ClassIR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ImplicitClone for Twhere
T: Clone,
impl<T> ImplicitClone for Twhere
T: Clone,
fn clone_quote_var(&self) -> Self
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more