pub struct LibraryFamily { /* private fields */ }Implementations§
Source§impl LibraryFamily
impl LibraryFamily
pub fn new( authority: AuthorityId, logical_name: impl Into<String>, ) -> Result<Self, PackageError>
pub fn logical_name(&self) -> &str
pub fn package_name(&self) -> String
Trait Implementations§
Source§impl Clone for LibraryFamily
impl Clone for LibraryFamily
Source§fn clone(&self) -> LibraryFamily
fn clone(&self) -> LibraryFamily
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 LibraryFamily
impl Debug for LibraryFamily
impl Eq for LibraryFamily
Source§impl Hash for LibraryFamily
impl Hash for LibraryFamily
Source§impl Ord for LibraryFamily
impl Ord for LibraryFamily
Source§fn cmp(&self, other: &LibraryFamily) -> Ordering
fn cmp(&self, other: &LibraryFamily) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LibraryFamily
impl PartialEq for LibraryFamily
Source§impl PartialOrd for LibraryFamily
impl PartialOrd for LibraryFamily
impl StructuralPartialEq for LibraryFamily
Auto Trait Implementations§
impl Freeze for LibraryFamily
impl RefUnwindSafe for LibraryFamily
impl Send for LibraryFamily
impl Sync for LibraryFamily
impl Unpin for LibraryFamily
impl UnsafeUnpin for LibraryFamily
impl UnwindSafe for LibraryFamily
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.