pub struct WordPressBlockAttributeName(/* private fields */);Implementations§
Source§impl WordPressBlockAttributeName
impl WordPressBlockAttributeName
pub fn new( input: &str, ) -> Result<WordPressBlockAttributeName, WordPressBlockError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for WordPressBlockAttributeName
impl Clone for WordPressBlockAttributeName
Source§fn clone(&self) -> WordPressBlockAttributeName
fn clone(&self) -> WordPressBlockAttributeName
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 WordPressBlockAttributeName
impl Debug for WordPressBlockAttributeName
Source§impl FromStr for WordPressBlockAttributeName
impl FromStr for WordPressBlockAttributeName
Source§type Err = WordPressBlockError
type Err = WordPressBlockError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<WordPressBlockAttributeName, <WordPressBlockAttributeName as FromStr>::Err>
fn from_str( input: &str, ) -> Result<WordPressBlockAttributeName, <WordPressBlockAttributeName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for WordPressBlockAttributeName
impl Hash for WordPressBlockAttributeName
Source§impl Ord for WordPressBlockAttributeName
impl Ord for WordPressBlockAttributeName
Source§fn cmp(&self, other: &WordPressBlockAttributeName) -> Ordering
fn cmp(&self, other: &WordPressBlockAttributeName) -> 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 WordPressBlockAttributeName
impl PartialEq for WordPressBlockAttributeName
Source§fn eq(&self, other: &WordPressBlockAttributeName) -> bool
fn eq(&self, other: &WordPressBlockAttributeName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WordPressBlockAttributeName
impl PartialOrd for WordPressBlockAttributeName
impl Eq for WordPressBlockAttributeName
impl StructuralPartialEq for WordPressBlockAttributeName
Auto Trait Implementations§
impl Freeze for WordPressBlockAttributeName
impl RefUnwindSafe for WordPressBlockAttributeName
impl Send for WordPressBlockAttributeName
impl Sync for WordPressBlockAttributeName
impl Unpin for WordPressBlockAttributeName
impl UnsafeUnpin for WordPressBlockAttributeName
impl UnwindSafe for WordPressBlockAttributeName
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