pub enum LinkHandle {
Id(u32),
Name(String),
}
Expand description
A link handle can be either a string or a numeric id.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LinkHandle
impl Clone for LinkHandle
Source§fn clone(&self) -> LinkHandle
fn clone(&self) -> LinkHandle
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 Debug for LinkHandle
impl Debug for LinkHandle
Auto Trait Implementations§
impl Freeze for LinkHandle
impl RefUnwindSafe for LinkHandle
impl Send for LinkHandle
impl Sync for LinkHandle
impl Unpin for LinkHandle
impl UnwindSafe for LinkHandle
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