pub struct JanetVersion { /* private fields */ }
Expand description
Janet version representation.
It has convenient comparison operators implementations with triples (u32, u32, u32)
,
arrays [u32; 3]
and str
.
Implementations§
Source§impl JanetVersion
impl JanetVersion
Trait Implementations§
Source§impl Clone for JanetVersion
impl Clone for JanetVersion
Source§fn clone(&self) -> JanetVersion
fn clone(&self) -> JanetVersion
Returns a copy 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 moreSource§impl Debug for JanetVersion
impl Debug for JanetVersion
Source§impl Display for JanetVersion
impl Display for JanetVersion
Source§impl Hash for JanetVersion
impl Hash for JanetVersion
Source§impl Ord for JanetVersion
impl Ord for JanetVersion
Source§impl PartialEq<&str> for JanetVersion
impl PartialEq<&str> for JanetVersion
Source§impl PartialEq<(u32, u32, u32)> for JanetVersion
impl PartialEq<(u32, u32, u32)> for JanetVersion
Source§impl PartialEq for JanetVersion
impl PartialEq for JanetVersion
Source§impl PartialOrd<&str> for JanetVersion
impl PartialOrd<&str> for JanetVersion
Source§impl PartialOrd<[u32; 3]> for JanetVersion
impl PartialOrd<[u32; 3]> for JanetVersion
Source§impl PartialOrd<(u32, u32, u32)> for JanetVersion
impl PartialOrd<(u32, u32, u32)> for JanetVersion
Source§impl PartialOrd for JanetVersion
impl PartialOrd for JanetVersion
impl Copy for JanetVersion
impl Eq for JanetVersion
impl StructuralPartialEq for JanetVersion
Auto Trait Implementations§
impl Freeze for JanetVersion
impl RefUnwindSafe for JanetVersion
impl Send for JanetVersion
impl Sync for JanetVersion
impl Unpin for JanetVersion
impl UnwindSafe for JanetVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)