pub enum ArrayShapePropertyKey {
String(StringIdentifier),
Integer(isize),
}Expand description
Represents a key in an array shape property.
Variants§
String(StringIdentifier)
Integer(isize)
Implementations§
Source§impl ArrayShapePropertyKey
impl ArrayShapePropertyKey
pub fn get_key(&self, interner: &ThreadedInterner) -> String
Trait Implementations§
Source§impl Clone for ArrayShapePropertyKey
impl Clone for ArrayShapePropertyKey
Source§fn clone(&self) -> ArrayShapePropertyKey
fn clone(&self) -> ArrayShapePropertyKey
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 ArrayShapePropertyKey
impl Debug for ArrayShapePropertyKey
Source§impl<'de> Deserialize<'de> for ArrayShapePropertyKey
impl<'de> Deserialize<'de> for ArrayShapePropertyKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ArrayShapePropertyKey
impl Hash for ArrayShapePropertyKey
Source§impl Ord for ArrayShapePropertyKey
impl Ord for ArrayShapePropertyKey
Source§fn cmp(&self, other: &ArrayShapePropertyKey) -> Ordering
fn cmp(&self, other: &ArrayShapePropertyKey) -> 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 ArrayShapePropertyKey
impl PartialEq for ArrayShapePropertyKey
Source§impl PartialOrd for ArrayShapePropertyKey
impl PartialOrd for ArrayShapePropertyKey
Source§impl Serialize for ArrayShapePropertyKey
impl Serialize for ArrayShapePropertyKey
impl Copy for ArrayShapePropertyKey
impl Eq for ArrayShapePropertyKey
impl StructuralPartialEq for ArrayShapePropertyKey
Auto Trait Implementations§
impl Freeze for ArrayShapePropertyKey
impl RefUnwindSafe for ArrayShapePropertyKey
impl Send for ArrayShapePropertyKey
impl Sync for ArrayShapePropertyKey
impl Unpin for ArrayShapePropertyKey
impl UnwindSafe for ArrayShapePropertyKey
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