pub enum CompatibilityLine {
PreV1 {
minor: u16,
},
Stable {
major: u16,
},
}Expand description
The SemVer line a FrameworkVersion belongs to, and therefore the unit
two Phoxal binaries have to agree on.
Pre-1.0 the breaking axis is the minor; from 1.0 on it is the major. Two
versions on one line interoperate, which is what
FrameworkVersion::is_compatible_with asks.
Variants§
Trait Implementations§
Source§impl Clone for CompatibilityLine
impl Clone for CompatibilityLine
Source§fn clone(&self) -> CompatibilityLine
fn clone(&self) -> CompatibilityLine
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 CompatibilityLine
Source§impl Debug for CompatibilityLine
impl Debug for CompatibilityLine
Source§impl Display for CompatibilityLine
impl Display for CompatibilityLine
impl Eq for CompatibilityLine
Source§impl Hash for CompatibilityLine
impl Hash for CompatibilityLine
Source§impl PartialEq for CompatibilityLine
impl PartialEq for CompatibilityLine
impl StructuralPartialEq for CompatibilityLine
Auto Trait Implementations§
impl Freeze for CompatibilityLine
impl RefUnwindSafe for CompatibilityLine
impl Send for CompatibilityLine
impl Sync for CompatibilityLine
impl Unpin for CompatibilityLine
impl UnsafeUnpin for CompatibilityLine
impl UnwindSafe for CompatibilityLine
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