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