pub enum Cond {
VersionAtLeast(u32),
VersionBelow(u32),
Flag(&'static str),
}Expand description
A version test against the enclosing block’s version.
Variants§
VersionAtLeast(u32)
The block’s version is at least this.
VersionBelow(u32)
The block’s version is below this.
Flag(&'static str)
An earlier Bool of the same fields is true.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cond
impl RefUnwindSafe for Cond
impl Send for Cond
impl Sync for Cond
impl Unpin for Cond
impl UnsafeUnpin for Cond
impl UnwindSafe for Cond
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