pub struct LibraryRef {
pub library: String,
pub name: String,
}Expand description
Aufgeloestes 2-Segment-Library-Verweis-Tupel (library, name).
library = "" heisst “kein Library-Prefix”; in diesem Fall muss der
Aufrufer einen Default-Library-Scope mitliefern.
Fields§
§library: StringName der Library ("" wenn nicht qualifiziert).
name: StringName des Items innerhalb der Library.
Implementations§
Source§impl LibraryRef
impl LibraryRef
Sourcepub fn is_qualified(&self) -> bool
pub fn is_qualified(&self) -> bool
true wenn der Verweis qualifiziert ist (library::name).
Trait Implementations§
Source§impl Clone for LibraryRef
impl Clone for LibraryRef
Source§fn clone(&self) -> LibraryRef
fn clone(&self) -> LibraryRef
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 LibraryRef
impl Debug for LibraryRef
Source§impl PartialEq for LibraryRef
impl PartialEq for LibraryRef
Source§fn eq(&self, other: &LibraryRef) -> bool
fn eq(&self, other: &LibraryRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LibraryRef
impl StructuralPartialEq for LibraryRef
Auto Trait Implementations§
impl Freeze for LibraryRef
impl RefUnwindSafe for LibraryRef
impl Send for LibraryRef
impl Sync for LibraryRef
impl Unpin for LibraryRef
impl UnsafeUnpin for LibraryRef
impl UnwindSafe for LibraryRef
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