pub struct PropertyReflection {Show 14 fields
pub attribut_reflections: Vec<AttributeReflection>,
pub read_visibility_reflection: Option<ClassLikeMemberVisibilityReflection>,
pub write_visibility_reflection: Option<ClassLikeMemberVisibilityReflection>,
pub name: ClassLikeMemberName,
pub type_reflection: Option<TypeReflection>,
pub default_value_reflection: Option<PropertyDefaultValueReflection>,
pub hooks: HashMap<StringIdentifier, FunctionLikeReflection>,
pub is_readonly: bool,
pub is_final: bool,
pub is_promoted: bool,
pub is_static: bool,
pub item_span: Span,
pub definition_span: Span,
pub is_overriding: bool,
}Fields§
§attribut_reflections: Vec<AttributeReflection>§read_visibility_reflection: Option<ClassLikeMemberVisibilityReflection>§write_visibility_reflection: Option<ClassLikeMemberVisibilityReflection>§name: ClassLikeMemberName§type_reflection: Option<TypeReflection>§default_value_reflection: Option<PropertyDefaultValueReflection>§hooks: HashMap<StringIdentifier, FunctionLikeReflection>§is_readonly: bool§is_final: bool§is_promoted: bool§is_static: bool§item_span: Span§definition_span: Span§is_overriding: boolTrait Implementations§
Source§impl Clone for PropertyReflection
impl Clone for PropertyReflection
Source§fn clone(&self) -> PropertyReflection
fn clone(&self) -> PropertyReflection
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 PropertyReflection
impl Debug for PropertyReflection
Source§impl<'de> Deserialize<'de> for PropertyReflection
impl<'de> Deserialize<'de> for PropertyReflection
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 PropertyReflection
impl PartialEq for PropertyReflection
Source§impl Serialize for PropertyReflection
impl Serialize for PropertyReflection
impl Eq for PropertyReflection
impl StructuralPartialEq for PropertyReflection
Auto Trait Implementations§
impl Freeze for PropertyReflection
impl RefUnwindSafe for PropertyReflection
impl Send for PropertyReflection
impl Sync for PropertyReflection
impl Unpin for PropertyReflection
impl UnwindSafe for PropertyReflection
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