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