View2D

Struct View2D 

Source
#[repr(C, packed(4))]
pub struct View2D {
Show 26 fields pub tot: rctf, pub cur: rctf, pub vert: rcti, pub hor: rcti, pub mask: rcti, pub min: [f32; 2], pub max: [f32; 2], pub minzoom: f32, pub maxzoom: f32, pub scroll: i16, pub scroll_ui: i16, pub keeptot: i16, pub keepzoom: i16, pub keepofs: i16, pub flag: i16, pub align: i16, pub winx: i16, pub winy: i16, pub oldwinx: i16, pub oldwiny: i16, pub around: i16, pub alpha_vert: i8, pub alpha_hor: i8, pub _pad: [i8; 6], pub sms: Pointer<Nothing>, pub smooth_timer: Pointer<Nothing>,
}

Fields§

§tot: rctf§cur: rctf§vert: rcti§hor: rcti§mask: rcti§min: [f32; 2]§max: [f32; 2]§minzoom: f32§maxzoom: f32§scroll: i16§scroll_ui: i16§keeptot: i16§keepzoom: i16§keepofs: i16§flag: i16§align: i16§winx: i16§winy: i16§oldwinx: i16§oldwiny: i16§around: i16§alpha_vert: i8§alpha_hor: i8§_pad: [i8; 6]§sms: Pointer<Nothing>§smooth_timer: Pointer<Nothing>

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for View2D

§

impl RefUnwindSafe for View2D

§

impl Send for View2D

§

impl Sync for View2D

§

impl Unpin for View2D

§

impl UnwindSafe for View2D

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.