pub struct RequiresIf<'a> {
pub value: &'a str,
pub requires: &'a str,
}Expand description
A flag required when the declaring flag is explicitly given value.
Fields§
§value: &'a str§requires: &'a strTrait Implementations§
Source§impl<'a> Clone for RequiresIf<'a>
impl<'a> Clone for RequiresIf<'a>
Source§fn clone(&self) -> RequiresIf<'a>
fn clone(&self) -> RequiresIf<'a>
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<'a> Copy for RequiresIf<'a>
Auto Trait Implementations§
impl<'a> Freeze for RequiresIf<'a>
impl<'a> RefUnwindSafe for RequiresIf<'a>
impl<'a> Send for RequiresIf<'a>
impl<'a> Sync for RequiresIf<'a>
impl<'a> Unpin for RequiresIf<'a>
impl<'a> UnsafeUnpin for RequiresIf<'a>
impl<'a> UnwindSafe for RequiresIf<'a>
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