Enum editpe::ResourceEntryName
source · pub enum ResourceEntryName {
ID(u32),
Name(Vec<u8>),
}
Expand description
Resource directory entry name. This can either be a raw id or a name.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ResourceEntryName
impl Clone for ResourceEntryName
source§fn clone(&self) -> ResourceEntryName
fn clone(&self) -> ResourceEntryName
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 ResourceEntryName
impl Debug for ResourceEntryName
source§impl Hash for ResourceEntryName
impl Hash for ResourceEntryName
source§impl PartialEq for ResourceEntryName
impl PartialEq for ResourceEntryName
source§fn eq(&self, other: &ResourceEntryName) -> bool
fn eq(&self, other: &ResourceEntryName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResourceEntryName
impl StructuralEq for ResourceEntryName
impl StructuralPartialEq for ResourceEntryName
Auto Trait Implementations§
impl RefUnwindSafe for ResourceEntryName
impl Send for ResourceEntryName
impl Sync for ResourceEntryName
impl Unpin for ResourceEntryName
impl UnwindSafe for ResourceEntryName
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.