pub struct LinksMetadata { /* private fields */ }Implementations§
Source§impl LinksMetadata
impl LinksMetadata
pub fn all_links(&self) -> &[Arc<Link>]
pub fn for_identity(&self, identity: &Identity) -> Option<Arc<Link>>
pub fn source_link_of_type(&self, type_name: &str) -> Option<LinkedElement>
pub fn source_link_of_directive( &self, directive_name: &str, ) -> Option<LinkedElement>
Trait Implementations§
Source§impl Debug for LinksMetadata
impl Debug for LinksMetadata
Source§impl Default for LinksMetadata
impl Default for LinksMetadata
Source§fn default() -> LinksMetadata
fn default() -> LinksMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for LinksMetadata
impl PartialEq for LinksMetadata
impl Eq for LinksMetadata
impl StructuralPartialEq for LinksMetadata
Auto Trait Implementations§
impl Freeze for LinksMetadata
impl RefUnwindSafe for LinksMetadata
impl Send for LinksMetadata
impl Sync for LinksMetadata
impl Unpin for LinksMetadata
impl UnwindSafe for LinksMetadata
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.