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