pub struct TheTruthApiInstance {
pub api: *mut tm_the_truth_api,
pub ctx: *const tm_the_truth_o,
}Fields§
§api: *mut tm_the_truth_api§ctx: *const tm_the_truth_oImplementations§
Source§impl TheTruthApiInstance
impl TheTruthApiInstance
pub fn read(&self, id: tm_tt_id_t) -> *const tm_the_truth_object_o
pub fn get_f32(&self, tto: *const tm_the_truth_object_o, property: u32) -> f32
pub fn get_f64(&self, tto: *const tm_the_truth_object_o, property: u32) -> f64
pub fn get_u32(&self, tto: *const tm_the_truth_object_o, property: u32) -> u32
pub fn get_u64(&self, tto: *const tm_the_truth_object_o, property: u32) -> u64
pub fn get_bool(&self, tto: *const tm_the_truth_object_o, property: u32) -> bool
Trait Implementations§
Source§impl Clone for TheTruthApiInstance
impl Clone for TheTruthApiInstance
Source§fn clone(&self) -> TheTruthApiInstance
fn clone(&self) -> TheTruthApiInstance
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 TheTruthApiInstance
Auto Trait Implementations§
impl Freeze for TheTruthApiInstance
impl RefUnwindSafe for TheTruthApiInstance
impl !Send for TheTruthApiInstance
impl !Sync for TheTruthApiInstance
impl Unpin for TheTruthApiInstance
impl UnwindSafe for TheTruthApiInstance
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