enum ResourceIdentity {
Generated(usize),
Existing(i64),
}Variants§
Trait Implementations§
Source§impl Clone for ResourceIdentity
impl Clone for ResourceIdentity
Source§fn clone(&self) -> ResourceIdentity
fn clone(&self) -> ResourceIdentity
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 PartialEq for ResourceIdentity
impl PartialEq for ResourceIdentity
Source§fn eq(&self, other: &ResourceIdentity) -> bool
fn eq(&self, other: &ResourceIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ResourceIdentity
impl Eq for ResourceIdentity
impl StructuralPartialEq for ResourceIdentity
Auto Trait Implementations§
impl Freeze for ResourceIdentity
impl RefUnwindSafe for ResourceIdentity
impl Send for ResourceIdentity
impl Sync for ResourceIdentity
impl Unpin for ResourceIdentity
impl UnsafeUnpin for ResourceIdentity
impl UnwindSafe for ResourceIdentity
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.