pub struct ConceptRef<'a> { /* private fields */ }Expand description
Shared borrowed view for every ConceptType-derived element.
Implementations§
Source§impl<'a> ConceptRef<'a>
impl<'a> ConceptRef<'a>
pub const fn element(self) -> &'a Element
pub fn guid(self) -> Result<Guid, ValueError>
pub fn date_of_creation(self) -> Option<&'a str>
pub fn names(self) -> impl Iterator<Item = MultilingualTextRef<'a>>
pub fn definitions(self) -> impl Iterator<Item = MultilingualTextRef<'a>>
pub fn references( self, local_name: &'a str, ) -> impl Iterator<Item = ReferenceRef<'a>>
Trait Implementations§
Source§impl<'a> Clone for ConceptRef<'a>
impl<'a> Clone for ConceptRef<'a>
Source§fn clone(&self) -> ConceptRef<'a>
fn clone(&self) -> ConceptRef<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ConceptRef<'a>
impl<'a> Debug for ConceptRef<'a>
impl<'a> Copy for ConceptRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConceptRef<'a>
impl<'a> RefUnwindSafe for ConceptRef<'a>
impl<'a> Send for ConceptRef<'a>
impl<'a> Sync for ConceptRef<'a>
impl<'a> Unpin for ConceptRef<'a>
impl<'a> UnwindSafe for ConceptRef<'a>
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