pub enum VersionCond {
Compare {
op: BinOp,
version: String,
},
Range {
from: String,
to: String,
},
}Expand description
mc >= 1.21, mc 1.20.1..1.21.4.
Variants§
Trait Implementations§
Source§impl Clone for VersionCond
impl Clone for VersionCond
Source§impl Debug for VersionCond
impl Debug for VersionCond
Source§impl PartialEq for VersionCond
impl PartialEq for VersionCond
impl StructuralPartialEq for VersionCond
Auto Trait Implementations§
impl Freeze for VersionCond
impl RefUnwindSafe for VersionCond
impl Send for VersionCond
impl Sync for VersionCond
impl Unpin for VersionCond
impl UnsafeUnpin for VersionCond
impl UnwindSafe for VersionCond
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