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