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