pub struct ClassStorage {Show 17 fields
pub fqcn: Arc<str>,
pub short_name: Arc<str>,
pub parent: Option<Arc<str>>,
pub interfaces: Vec<Arc<str>>,
pub traits: Vec<Arc<str>>,
pub own_methods: IndexMap<Arc<str>, MethodStorage>,
pub own_properties: IndexMap<Arc<str>, PropertyStorage>,
pub own_constants: IndexMap<Arc<str>, ConstantStorage>,
pub template_params: Vec<TemplateParam>,
pub is_abstract: bool,
pub is_final: bool,
pub is_readonly: bool,
pub all_methods: IndexMap<Arc<str>, MethodStorage>,
pub all_parents: Vec<Arc<str>>,
pub is_deprecated: bool,
pub is_internal: bool,
pub location: Option<Location>,
}Fields§
§fqcn: Arc<str>§short_name: Arc<str>§parent: Option<Arc<str>>§interfaces: Vec<Arc<str>>§traits: Vec<Arc<str>>§own_methods: IndexMap<Arc<str>, MethodStorage>§own_properties: IndexMap<Arc<str>, PropertyStorage>§own_constants: IndexMap<Arc<str>, ConstantStorage>§template_params: Vec<TemplateParam>§is_abstract: bool§is_final: bool§is_readonly: bool§all_methods: IndexMap<Arc<str>, MethodStorage>Populated during codebase finalization: all inherited methods (parent chain + traits).
all_parents: Vec<Arc<str>>Populated during finalization: all ancestor FQCNs (parents + interfaces, transitively).
is_deprecated: bool§is_internal: bool§location: Option<Location>Implementations§
Source§impl ClassStorage
impl ClassStorage
pub fn get_method(&self, name: &str) -> Option<&MethodStorage>
pub fn get_property(&self, name: &str) -> Option<&PropertyStorage>
pub fn implements_or_extends(&self, fqcn: &str) -> bool
Trait Implementations§
Source§impl Clone for ClassStorage
impl Clone for ClassStorage
Source§fn clone(&self) -> ClassStorage
fn clone(&self) -> ClassStorage
Returns a duplicate 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 ClassStorage
impl Debug for ClassStorage
Source§impl<'de> Deserialize<'de> for ClassStorage
impl<'de> Deserialize<'de> for ClassStorage
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
Source§impl PartialEq for ClassStorage
impl PartialEq for ClassStorage
Source§impl Serialize for ClassStorage
impl Serialize for ClassStorage
impl StructuralPartialEq for ClassStorage
Auto Trait Implementations§
impl Freeze for ClassStorage
impl RefUnwindSafe for ClassStorage
impl Send for ClassStorage
impl Sync for ClassStorage
impl Unpin for ClassStorage
impl UnsafeUnpin for ClassStorage
impl UnwindSafe for ClassStorage
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