pub struct CilExtFeatures { /* private fields */ }Expand description
A feature flag set for CilExt capabilities.
Implementations§
Source§impl CilExtFeatures
impl CilExtFeatures
pub fn new() -> Self
pub fn enable(&mut self, flag: impl Into<String>)
pub fn disable(&mut self, flag: &str)
pub fn is_enabled(&self, flag: &str) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn union(&self, other: &CilExtFeatures) -> CilExtFeatures
pub fn intersection(&self, other: &CilExtFeatures) -> CilExtFeatures
Trait Implementations§
Source§impl Clone for CilExtFeatures
impl Clone for CilExtFeatures
Source§fn clone(&self) -> CilExtFeatures
fn clone(&self) -> CilExtFeatures
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 CilExtFeatures
impl Debug for CilExtFeatures
Source§impl Default for CilExtFeatures
impl Default for CilExtFeatures
Source§fn default() -> CilExtFeatures
fn default() -> CilExtFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CilExtFeatures
impl RefUnwindSafe for CilExtFeatures
impl Send for CilExtFeatures
impl Sync for CilExtFeatures
impl Unpin for CilExtFeatures
impl UnsafeUnpin for CilExtFeatures
impl UnwindSafe for CilExtFeatures
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