pub struct GlobalNamespace;Expand description
Marker for PHP’s global namespace.
Implementations§
Trait Implementations§
Source§impl Clone for GlobalNamespace
impl Clone for GlobalNamespace
Source§fn clone(&self) -> GlobalNamespace
fn clone(&self) -> GlobalNamespace
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 GlobalNamespace
impl Debug for GlobalNamespace
Source§impl Default for GlobalNamespace
impl Default for GlobalNamespace
Source§fn default() -> GlobalNamespace
fn default() -> GlobalNamespace
Returns the “default value” for a type. Read more
Source§impl Hash for GlobalNamespace
impl Hash for GlobalNamespace
Source§impl Ord for GlobalNamespace
impl Ord for GlobalNamespace
Source§fn cmp(&self, other: &GlobalNamespace) -> Ordering
fn cmp(&self, other: &GlobalNamespace) -> 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 GlobalNamespace
impl PartialEq for GlobalNamespace
Source§fn eq(&self, other: &GlobalNamespace) -> bool
fn eq(&self, other: &GlobalNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GlobalNamespace
impl PartialOrd for GlobalNamespace
impl Copy for GlobalNamespace
impl Eq for GlobalNamespace
impl StructuralPartialEq for GlobalNamespace
Auto Trait Implementations§
impl Freeze for GlobalNamespace
impl RefUnwindSafe for GlobalNamespace
impl Send for GlobalNamespace
impl Sync for GlobalNamespace
impl Unpin for GlobalNamespace
impl UnsafeUnpin for GlobalNamespace
impl UnwindSafe for GlobalNamespace
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