pub struct TimeCoord { /* private fields */ }
Expand description
A TimeCoord
stores a single event in a motion history.
To check whether an axis is present, check whether the corresponding
flag from the AxisFlags
enumeration is set in the @flags
To access individual axis values, use the values of the values of
the AxisUse
enumerations as indices.
GLib type: Inline allocated boxed type with stack copy semantics.
Implementations§
Source§impl TimeCoord
impl TimeCoord
pub fn as_ptr(&self) -> *mut GdkTimeCoord
Sourcepub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GdkTimeCoord) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GdkTimeCoord) -> &'a Self
Borrows the underlying C value.
Sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut GdkTimeCoord,
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>( ptr: *mut GdkTimeCoord, ) -> &'a mut Self
Borrows the underlying C value mutably.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeCoord
impl RefUnwindSafe for TimeCoord
impl Send for TimeCoord
impl Sync for TimeCoord
impl Unpin for TimeCoord
impl UnwindSafe for TimeCoord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)