pub enum WordPressBlockAttributeType {
String,
Boolean,
Number,
Integer,
Object,
Array,
}Expand description
WordPress block attribute type metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WordPressBlockAttributeType
impl Clone for WordPressBlockAttributeType
Source§fn clone(&self) -> WordPressBlockAttributeType
fn clone(&self) -> WordPressBlockAttributeType
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 Debug for WordPressBlockAttributeType
impl Debug for WordPressBlockAttributeType
Source§impl Hash for WordPressBlockAttributeType
impl Hash for WordPressBlockAttributeType
Source§impl Ord for WordPressBlockAttributeType
impl Ord for WordPressBlockAttributeType
Source§fn cmp(&self, other: &WordPressBlockAttributeType) -> Ordering
fn cmp(&self, other: &WordPressBlockAttributeType) -> Ordering
1.21.0 (const: unstable) · 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 WordPressBlockAttributeType
impl PartialEq for WordPressBlockAttributeType
Source§fn eq(&self, other: &WordPressBlockAttributeType) -> bool
fn eq(&self, other: &WordPressBlockAttributeType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WordPressBlockAttributeType
impl PartialOrd for WordPressBlockAttributeType
impl Copy for WordPressBlockAttributeType
impl Eq for WordPressBlockAttributeType
impl StructuralPartialEq for WordPressBlockAttributeType
Auto Trait Implementations§
impl Freeze for WordPressBlockAttributeType
impl RefUnwindSafe for WordPressBlockAttributeType
impl Send for WordPressBlockAttributeType
impl Sync for WordPressBlockAttributeType
impl Unpin for WordPressBlockAttributeType
impl UnsafeUnpin for WordPressBlockAttributeType
impl UnwindSafe for WordPressBlockAttributeType
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