[][src]Struct gdk::FrameClock

pub struct FrameClock(_, _);

Implementations

impl FrameClock[src]

pub fn begin_updating(&self)[src]

pub fn end_updating(&self)[src]

pub fn get_current_timings(&self) -> Option<FrameTimings>[src]

pub fn get_frame_counter(&self) -> i64[src]

pub fn get_frame_time(&self) -> i64[src]

pub fn get_history_start(&self) -> i64[src]

pub fn get_timings(&self, frame_counter: i64) -> Option<FrameTimings>[src]

pub fn request_phase(&self, phase: FrameClockPhase)[src]

pub fn connect_after_paint<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_before_paint<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_flush_events<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_layout<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_paint<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_resume_events<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_update<F: Fn(&FrameClock) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

impl FrameClock[src]

pub fn get_refresh_info(&self, base_time: i64) -> (i64, i64)[src]

Trait Implementations

impl Clone for FrameClock[src]

impl Debug for FrameClock[src]

impl Display for FrameClock[src]

impl Eq for FrameClock[src]

impl Hash for FrameClock[src]

impl Ord for FrameClock[src]

impl<T: ObjectType> PartialEq<T> for FrameClock[src]

impl<T: ObjectType> PartialOrd<T> for FrameClock[src]

impl StaticType for FrameClock[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.