pub struct NegatableExpression {
pub negate: Option<bool>,
}Expand description
The base class for any type of setting or configuration to which negation can be applied.
When used in a configuration information object: if NegatableExpression.negate is true, then ~(objectValue) will be used for the configuration. If false, then objectValue will be used as it is.
Fields§
§negate: Option<bool>Whether the configuration needs to be negated or not.
Trait Implementations§
Source§impl Debug for NegatableExpression
impl Debug for NegatableExpression
Source§impl Deserialize for NegatableExpression
impl Deserialize for NegatableExpression
Source§impl NegatableExpressionTrait for NegatableExpression
impl NegatableExpressionTrait for NegatableExpression
Source§fn get_negatable_expression(&self) -> &NegatableExpression
fn get_negatable_expression(&self) -> &NegatableExpression
Get a reference to the NegatableExpression parent struct
Source§fn get_negatable_expression_mut(&mut self) -> &mut NegatableExpression
fn get_negatable_expression_mut(&mut self) -> &mut NegatableExpression
Get a mutable reference to the NegatableExpression parent struct
Source§impl VimObjectTrait for NegatableExpression
impl VimObjectTrait for NegatableExpression
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for NegatableExpression
Auto Trait Implementations§
impl Freeze for NegatableExpression
impl RefUnwindSafe for NegatableExpression
impl Send for NegatableExpression
impl Sync for NegatableExpression
impl Unpin for NegatableExpression
impl UnsafeUnpin for NegatableExpression
impl UnwindSafe for NegatableExpression
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