pub struct SourceRustAssociated {
pub module: Arc<[String]>,
pub owner: String,
pub name: String,
pub declaration: Option<usize>,
pub visibility: SourceRustVisibility,
pub supported: bool,
}Expand description
One inherent method linked to its owning type by actual impl syntax.
Fields§
§module: Arc<[String]>Inline module containing the impl and its local type owner.
owner: StringActual local type identifier, excluding inferred type flow.
name: StringActual method identifier.
declaration: Option<usize>Admitted declaration ordinal; a lost ordinal remains a competing blocker.
visibility: SourceRustVisibilityMethod visibility from source syntax.
supported: boolFalse for conditional, transforming or malformed method/impl syntax.
Trait Implementations§
Source§impl Clone for SourceRustAssociated
impl Clone for SourceRustAssociated
Source§fn clone(&self) -> SourceRustAssociated
fn clone(&self) -> SourceRustAssociated
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 SourceRustAssociated
impl Debug for SourceRustAssociated
impl Eq for SourceRustAssociated
Source§impl PartialEq for SourceRustAssociated
impl PartialEq for SourceRustAssociated
Source§fn eq(&self, other: &SourceRustAssociated) -> bool
fn eq(&self, other: &SourceRustAssociated) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceRustAssociated
Auto Trait Implementations§
impl Freeze for SourceRustAssociated
impl RefUnwindSafe for SourceRustAssociated
impl Send for SourceRustAssociated
impl Sync for SourceRustAssociated
impl Unpin for SourceRustAssociated
impl UnsafeUnpin for SourceRustAssociated
impl UnwindSafe for SourceRustAssociated
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.