pub struct FfiExtFeatures { /* private fields */ }Expand description
A feature flag set for FfiExt capabilities.
Implementations§
Source§impl FfiExtFeatures
impl FfiExtFeatures
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: &FfiExtFeatures) -> FfiExtFeatures
pub fn intersection(&self, other: &FfiExtFeatures) -> FfiExtFeatures
Trait Implementations§
Source§impl Clone for FfiExtFeatures
impl Clone for FfiExtFeatures
Source§fn clone(&self) -> FfiExtFeatures
fn clone(&self) -> FfiExtFeatures
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 FfiExtFeatures
impl Debug for FfiExtFeatures
Source§impl Default for FfiExtFeatures
impl Default for FfiExtFeatures
Source§fn default() -> FfiExtFeatures
fn default() -> FfiExtFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FfiExtFeatures
impl RefUnwindSafe for FfiExtFeatures
impl Send for FfiExtFeatures
impl Sync for FfiExtFeatures
impl Unpin for FfiExtFeatures
impl UnsafeUnpin for FfiExtFeatures
impl UnwindSafe for FfiExtFeatures
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