pub struct ElementKey(/* private fields */);
Expand description
A key used for identifying elements when importing a GDSII file.
Trait Implementations§
Source§impl Clone for ElementKey
impl Clone for ElementKey
Source§fn clone(&self) -> ElementKey
fn clone(&self) -> ElementKey
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 ElementKey
impl Debug for ElementKey
Source§impl Default for ElementKey
impl Default for ElementKey
Source§fn default() -> ElementKey
fn default() -> ElementKey
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for ElementKey
impl From<KeyData> for ElementKey
Source§impl Hash for ElementKey
impl Hash for ElementKey
Source§impl Key for ElementKey
impl Key for ElementKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for ElementKey
impl Ord for ElementKey
Source§fn cmp(&self, other: &ElementKey) -> Ordering
fn cmp(&self, other: &ElementKey) -> 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 ElementKey
impl PartialEq for ElementKey
Source§impl PartialOrd for ElementKey
impl PartialOrd for ElementKey
impl Copy for ElementKey
impl Eq for ElementKey
impl StructuralPartialEq for ElementKey
Auto Trait Implementations§
impl Freeze for ElementKey
impl RefUnwindSafe for ElementKey
impl Send for ElementKey
impl Sync for ElementKey
impl Unpin for ElementKey
impl UnwindSafe for ElementKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
Checks if this value is equivalent to the given key. Read more
§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.