[−][src]Struct gauge_sys::ffi::GaugeDrawData
Frame data from the Gauge API on PreDraw
and PostDraw
events
Fields
mx: f64
Mouse X coordinate
my: f64
Mouse Y coordinate
t: f64
Simulator time (seconds)
dt: f64
Time since last draw in seconds
window_width: u32
Width of the window in pixels
window_height: u32
Height of the window in pixels
framebuffer_width: u32
Width of the framebuffer in pixels
framebuffer_height: u32
Height of the framebuffer in pixels
Trait Implementations
impl Clone for GaugeDrawData
[src]
fn clone(&self) -> GaugeDrawData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GaugeDrawData
[src]
impl Debug for GaugeDrawData
[src]
Auto Trait Implementations
impl RefUnwindSafe for GaugeDrawData
impl Send for GaugeDrawData
impl Sync for GaugeDrawData
impl Unpin for GaugeDrawData
impl UnwindSafe for GaugeDrawData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,