pub struct PropertyAttributes {
pub is_static: bool,
pub is_constant: bool,
pub is_dependent: bool,
pub is_transient: bool,
pub is_hidden: bool,
pub access: MemberAccess,
pub get_access: MemberAccess,
pub set_access: MemberAccess,
}Fields§
§is_static: bool§is_constant: bool§is_dependent: bool§is_transient: bool§access: MemberAccess§get_access: MemberAccess§set_access: MemberAccessTrait Implementations§
Source§impl Clone for PropertyAttributes
impl Clone for PropertyAttributes
Source§fn clone(&self) -> PropertyAttributes
fn clone(&self) -> PropertyAttributes
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 PropertyAttributes
impl Debug for PropertyAttributes
Source§impl Default for PropertyAttributes
impl Default for PropertyAttributes
Source§fn default() -> PropertyAttributes
fn default() -> PropertyAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PropertyAttributes
impl<'de> Deserialize<'de> for PropertyAttributes
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 PropertyAttributes
impl PartialEq for PropertyAttributes
Source§fn eq(&self, other: &PropertyAttributes) -> bool
fn eq(&self, other: &PropertyAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PropertyAttributes
impl Serialize for PropertyAttributes
impl StructuralPartialEq for PropertyAttributes
Auto Trait Implementations§
impl Freeze for PropertyAttributes
impl RefUnwindSafe for PropertyAttributes
impl Send for PropertyAttributes
impl Sync for PropertyAttributes
impl Unpin for PropertyAttributes
impl UnsafeUnpin for PropertyAttributes
impl UnwindSafe for PropertyAttributes
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