Struct conrod::input::RenderArgs [−][src]
pub struct RenderArgs { pub ext_dt: f64, pub width: u32, pub height: u32, pub draw_width: u32, pub draw_height: u32, }
Render arguments
Fields
ext_dt: f64
Extrapolated time in seconds, used to do smooth animation.
width: u32
The width of rendered area in points.
height: u32
The height of rendered area in points.
draw_width: u32
The width of rendered area in pixels.
draw_height: u32
The height of rendered area in pixels.
Methods
impl RenderArgs
[src]
impl RenderArgs
Trait Implementations
impl Clone for RenderArgs
[src]
impl Clone for RenderArgs
fn clone(&self) -> RenderArgs
[src]
fn clone(&self) -> RenderArgs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RenderArgs
[src]
impl Debug for RenderArgs
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<RenderArgs> for Event
[src]
impl From<RenderArgs> for Event
fn from(args: RenderArgs) -> Event
[src]
fn from(args: RenderArgs) -> Event
Performs the conversion.
impl From<RenderArgs> for Loop
[src]
impl From<RenderArgs> for Loop
fn from(args: RenderArgs) -> Loop
[src]
fn from(args: RenderArgs) -> Loop
Performs the conversion.
impl Serialize for RenderArgs
[src]
impl Serialize for RenderArgs
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for RenderArgs
[src]
impl Copy for RenderArgs
impl PartialEq<RenderArgs> for RenderArgs
[src]
impl PartialEq<RenderArgs> for RenderArgs
fn eq(&self, other: &RenderArgs) -> bool
[src]
fn eq(&self, other: &RenderArgs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RenderArgs) -> bool
[src]
fn ne(&self, other: &RenderArgs) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for RenderArgs
[src]
impl<'de> Deserialize<'de> for RenderArgs
fn deserialize<__D>(
__deserializer: __D
) -> Result<RenderArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<RenderArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for RenderArgs
impl Send for RenderArgs
impl Sync for RenderArgs
impl Sync for RenderArgs