pub struct PhpMajorVersion(/* private fields */);Expand description
PHP major version component.
Implementations§
Trait Implementations§
Source§impl Clone for PhpMajorVersion
impl Clone for PhpMajorVersion
Source§fn clone(&self) -> PhpMajorVersion
fn clone(&self) -> PhpMajorVersion
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 PhpMajorVersion
impl Debug for PhpMajorVersion
Source§impl Hash for PhpMajorVersion
impl Hash for PhpMajorVersion
Source§impl Ord for PhpMajorVersion
impl Ord for PhpMajorVersion
Source§fn cmp(&self, other: &PhpMajorVersion) -> Ordering
fn cmp(&self, other: &PhpMajorVersion) -> 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 PhpMajorVersion
impl PartialEq for PhpMajorVersion
Source§fn eq(&self, other: &PhpMajorVersion) -> bool
fn eq(&self, other: &PhpMajorVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpMajorVersion
impl PartialOrd for PhpMajorVersion
impl Copy for PhpMajorVersion
impl Eq for PhpMajorVersion
impl StructuralPartialEq for PhpMajorVersion
Auto Trait Implementations§
impl Freeze for PhpMajorVersion
impl RefUnwindSafe for PhpMajorVersion
impl Send for PhpMajorVersion
impl Sync for PhpMajorVersion
impl Unpin for PhpMajorVersion
impl UnsafeUnpin for PhpMajorVersion
impl UnwindSafe for PhpMajorVersion
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