#[repr(C)]pub struct StatisticsTabApi {
pub add_source: Option<unsafe extern "C" fn(tab: *mut TabI, name: *const c_char, source: *const c_char, color: ColorSrgbT)>,
}Fields§
§add_source: Option<unsafe extern "C" fn(tab: *mut TabI, name: *const c_char, source: *const c_char, color: ColorSrgbT)>Implementations§
Source§impl StatisticsTabApi
impl StatisticsTabApi
pub unsafe fn add_source( &self, tab: *mut TabI, name: *const c_char, source: *const c_char, color: ColorSrgbT, )
Trait Implementations§
Source§impl Clone for StatisticsTabApi
impl Clone for StatisticsTabApi
Source§fn clone(&self) -> StatisticsTabApi
fn clone(&self) -> StatisticsTabApi
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 Default for StatisticsTabApi
impl Default for StatisticsTabApi
Source§fn default() -> StatisticsTabApi
fn default() -> StatisticsTabApi
Returns the “default value” for a type. Read more
impl Copy for StatisticsTabApi
Auto Trait Implementations§
impl Freeze for StatisticsTabApi
impl RefUnwindSafe for StatisticsTabApi
impl Send for StatisticsTabApi
impl Sync for StatisticsTabApi
impl Unpin for StatisticsTabApi
impl UnwindSafe for StatisticsTabApi
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