pub struct WordPressBlockAttribute { /* private fields */ }Expand description
WordPress block attribute metadata.
Implementations§
Source§impl WordPressBlockAttribute
impl WordPressBlockAttribute
pub const fn new( name: WordPressBlockAttributeName, attribute_type: WordPressBlockAttributeType, ) -> WordPressBlockAttribute
pub const fn name(&self) -> &WordPressBlockAttributeName
pub const fn attribute_type(&self) -> WordPressBlockAttributeType
Trait Implementations§
Source§impl Clone for WordPressBlockAttribute
impl Clone for WordPressBlockAttribute
Source§fn clone(&self) -> WordPressBlockAttribute
fn clone(&self) -> WordPressBlockAttribute
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 WordPressBlockAttribute
impl Debug for WordPressBlockAttribute
Source§impl PartialEq for WordPressBlockAttribute
impl PartialEq for WordPressBlockAttribute
Source§fn eq(&self, other: &WordPressBlockAttribute) -> bool
fn eq(&self, other: &WordPressBlockAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WordPressBlockAttribute
impl StructuralPartialEq for WordPressBlockAttribute
Auto Trait Implementations§
impl Freeze for WordPressBlockAttribute
impl RefUnwindSafe for WordPressBlockAttribute
impl Send for WordPressBlockAttribute
impl Sync for WordPressBlockAttribute
impl Unpin for WordPressBlockAttribute
impl UnsafeUnpin for WordPressBlockAttribute
impl UnwindSafe for WordPressBlockAttribute
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