pub enum NlPolicyTypeAttrs {
Type(NlaType),
MinValueSigned(i64),
MaxValueSigned(i64),
MaxValueUnsigned(u64),
MinValueUnsigned(u64),
MinLength(u32),
MaxLength(u32),
PolicyIdx(u32),
PolicyMaxType(u32),
Bitfield32Mask(u32),
Mask(u64),
}
Variants§
Type(NlaType)
MinValueSigned(i64)
MaxValueSigned(i64)
MaxValueUnsigned(u64)
MinValueUnsigned(u64)
MinLength(u32)
MaxLength(u32)
PolicyIdx(u32)
PolicyMaxType(u32)
Bitfield32Mask(u32)
Mask(u64)
Trait Implementations§
Source§impl Clone for NlPolicyTypeAttrs
impl Clone for NlPolicyTypeAttrs
Source§fn clone(&self) -> NlPolicyTypeAttrs
fn clone(&self) -> NlPolicyTypeAttrs
Returns a copy 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 NlPolicyTypeAttrs
impl Debug for NlPolicyTypeAttrs
Source§impl Nla for NlPolicyTypeAttrs
impl Nla for NlPolicyTypeAttrs
Source§impl PartialEq for NlPolicyTypeAttrs
impl PartialEq for NlPolicyTypeAttrs
impl Eq for NlPolicyTypeAttrs
impl StructuralPartialEq for NlPolicyTypeAttrs
Auto Trait Implementations§
impl Freeze for NlPolicyTypeAttrs
impl RefUnwindSafe for NlPolicyTypeAttrs
impl Send for NlPolicyTypeAttrs
impl Sync for NlPolicyTypeAttrs
impl Unpin for NlPolicyTypeAttrs
impl UnwindSafe for NlPolicyTypeAttrs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)