pub enum WidowsValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Integer(Integer),
}Variants§
Implementations§
Source§impl WidowsValue
impl WidowsValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is WidowsValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is WidowsValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is WidowsValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is WidowsValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is WidowsValue::Unset otherwise false
Sourcepub const fn is_integer(&self) -> bool
pub const fn is_integer(&self) -> bool
Returns true if the enum is WidowsValue::Integer otherwise false
Trait Implementations§
Source§impl Clone for WidowsValue
impl Clone for WidowsValue
Source§fn clone(&self) -> WidowsValue
fn clone(&self) -> WidowsValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WidowsValue
impl Debug for WidowsValue
Source§impl Display for WidowsValue
impl Display for WidowsValue
Source§impl PartialEq for WidowsValue
impl PartialEq for WidowsValue
impl StructuralPartialEq for WidowsValue
impl UnitDataType<Widows<WidowsValue>> for WidowsValue
Auto Trait Implementations§
impl Freeze for WidowsValue
impl RefUnwindSafe for WidowsValue
impl Send for WidowsValue
impl Sync for WidowsValue
impl Unpin for WidowsValue
impl UnwindSafe for WidowsValue
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