Struct PhpNamespacePath
pub struct PhpNamespacePath(/* private fields */);Implementations§
§impl PhpNamespacePath
impl PhpNamespacePath
§impl PhpNamespacePath
impl PhpNamespacePath
pub fn global() -> PhpNamespacePath
pub fn is_global(&self) -> bool
pub fn join(&self, segment: &str) -> Result<PhpNamespacePath, PhpNamespaceError>
Trait Implementations§
§impl Clone for PhpNamespacePath
impl Clone for PhpNamespacePath
§fn clone(&self) -> PhpNamespacePath
fn clone(&self) -> PhpNamespacePath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PhpNamespacePath
impl Debug for PhpNamespacePath
§impl Display for PhpNamespacePath
impl Display for PhpNamespacePath
§impl FromStr for PhpNamespacePath
impl FromStr for PhpNamespacePath
§impl Hash for PhpNamespacePath
impl Hash for PhpNamespacePath
§impl Ord for PhpNamespacePath
impl Ord for PhpNamespacePath
§fn cmp(&self, other: &PhpNamespacePath) -> Ordering
fn cmp(&self, other: &PhpNamespacePath) -> Ordering
1.21.0 · 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
§impl PartialEq for PhpNamespacePath
impl PartialEq for PhpNamespacePath
§impl PartialOrd for PhpNamespacePath
impl PartialOrd for PhpNamespacePath
impl Eq for PhpNamespacePath
impl StructuralPartialEq for PhpNamespacePath
Auto Trait Implementations§
impl Freeze for PhpNamespacePath
impl RefUnwindSafe for PhpNamespacePath
impl Send for PhpNamespacePath
impl Sync for PhpNamespacePath
impl Unpin for PhpNamespacePath
impl UnsafeUnpin for PhpNamespacePath
impl UnwindSafe for PhpNamespacePath
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