pub struct VersionTriple {
pub major: f64,
pub minor: f64,
pub fix: f64,
}Expand description
TS version triple { major; minor; fix; }.
Fields§
§major: f64§minor: f64§fix: f64Trait Implementations§
Source§impl Clone for VersionTriple
impl Clone for VersionTriple
Source§fn clone(&self) -> VersionTriple
fn clone(&self) -> VersionTriple
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 moreimpl Copy for VersionTriple
Source§impl Debug for VersionTriple
impl Debug for VersionTriple
Source§impl Default for VersionTriple
impl Default for VersionTriple
Source§fn default() -> VersionTriple
fn default() -> VersionTriple
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VersionTriple
impl RefUnwindSafe for VersionTriple
impl Send for VersionTriple
impl Sync for VersionTriple
impl Unpin for VersionTriple
impl UnsafeUnpin for VersionTriple
impl UnwindSafe for VersionTriple
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