pub enum LibraryNameElement {
Identifier(String),
Integer(u32),
}Variants§
Trait Implementations§
Source§impl Clone for LibraryNameElement
impl Clone for LibraryNameElement
Source§fn clone(&self) -> LibraryNameElement
fn clone(&self) -> LibraryNameElement
Returns a duplicate 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 Debug for LibraryNameElement
impl Debug for LibraryNameElement
Source§impl Display for LibraryNameElement
impl Display for LibraryNameElement
Source§impl From<&str> for LibraryNameElement
impl From<&str> for LibraryNameElement
Source§impl From<LibraryNameElement> for LibraryName
impl From<LibraryNameElement> for LibraryName
Source§fn from(value: LibraryNameElement) -> Self
fn from(value: LibraryNameElement) -> Self
Converts to this type from the input type.
Source§impl From<u32> for LibraryNameElement
impl From<u32> for LibraryNameElement
Source§impl FromIterator<LibraryNameElement> for LibraryName
impl FromIterator<LibraryNameElement> for LibraryName
Source§fn from_iter<T: IntoIterator<Item = LibraryNameElement>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = LibraryNameElement>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Hash for LibraryNameElement
impl Hash for LibraryNameElement
Source§impl Ord for LibraryNameElement
impl Ord for LibraryNameElement
Source§fn cmp(&self, other: &LibraryNameElement) -> Ordering
fn cmp(&self, other: &LibraryNameElement) -> Ordering
1.21.0 · 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
Source§impl PartialEq for LibraryNameElement
impl PartialEq for LibraryNameElement
Source§impl PartialOrd for LibraryNameElement
impl PartialOrd for LibraryNameElement
Source§impl ToLocated for LibraryNameElement
impl ToLocated for LibraryNameElement
impl Eq for LibraryNameElement
impl StructuralPartialEq for LibraryNameElement
Auto Trait Implementations§
impl Freeze for LibraryNameElement
impl RefUnwindSafe for LibraryNameElement
impl Send for LibraryNameElement
impl Sync for LibraryNameElement
impl Unpin for LibraryNameElement
impl UnwindSafe for LibraryNameElement
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