pub struct ClassProperty {
pub name: MemberName,
pub attributes: PropertyAttributes,
pub default: Option<HirExpr>,
pub span: Span,
}Fields§
§name: MemberName§attributes: PropertyAttributes§default: Option<HirExpr>§span: SpanTrait Implementations§
Source§impl Clone for ClassProperty
impl Clone for ClassProperty
Source§fn clone(&self) -> ClassProperty
fn clone(&self) -> ClassProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClassProperty
impl Debug for ClassProperty
Source§impl<'de> Deserialize<'de> for ClassProperty
impl<'de> Deserialize<'de> for ClassProperty
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 ClassProperty
impl PartialEq for ClassProperty
Source§fn eq(&self, other: &ClassProperty) -> bool
fn eq(&self, other: &ClassProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClassProperty
impl Serialize for ClassProperty
impl StructuralPartialEq for ClassProperty
Auto Trait Implementations§
impl Freeze for ClassProperty
impl RefUnwindSafe for ClassProperty
impl Send for ClassProperty
impl Sync for ClassProperty
impl Unpin for ClassProperty
impl UnsafeUnpin for ClassProperty
impl UnwindSafe for ClassProperty
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