#[repr(C)]pub struct tm_feature_flags_api {
pub enabled: Option<unsafe extern "C" fn(u64) -> bool>,
pub set_enabled: Option<unsafe extern "C" fn(u64, bool)>,
pub all_enabled: Option<unsafe extern "C" fn(*mut u32) -> *const u64>,
}Fields§
§enabled: Option<unsafe extern "C" fn(u64) -> bool>§set_enabled: Option<unsafe extern "C" fn(u64, bool)>§all_enabled: Option<unsafe extern "C" fn(*mut u32) -> *const u64>Trait Implementations§
Source§impl Clone for tm_feature_flags_api
impl Clone for tm_feature_flags_api
Source§fn clone(&self) -> tm_feature_flags_api
fn clone(&self) -> tm_feature_flags_api
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 moreimpl Copy for tm_feature_flags_api
Auto Trait Implementations§
impl Freeze for tm_feature_flags_api
impl RefUnwindSafe for tm_feature_flags_api
impl Send for tm_feature_flags_api
impl Sync for tm_feature_flags_api
impl Unpin for tm_feature_flags_api
impl UnwindSafe for tm_feature_flags_api
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