Struct kos_sys::dc::video::vid_mode_t

source ·
#[repr(C)]
pub struct vid_mode_t {
Show 17 fields pub generic: u16, pub width: u16, pub height: u16, pub flags: u32, pub cable_type: i16, pub pm: vid_pixel_mode_t, pub scanlines: u16, pub clocks: u16, pub bitmapx: u16, pub bitmapy: u16, pub borderx1: u16, pub borderx2: u16, pub bordery1: u16, pub bordery2: u16, pub fb_curr: u16, pub fb_count: u16, pub fb_size: c_size_t,
}

Fields§

§generic: u16§width: u16§height: u16§flags: u32§cable_type: i16§pm: vid_pixel_mode_t§scanlines: u16§clocks: u16§bitmapx: u16§bitmapy: u16§borderx1: u16§borderx2: u16§bordery1: u16§bordery2: u16§fb_curr: u16§fb_count: u16§fb_size: c_size_t

Auto Trait Implementations§

§

impl Freeze for vid_mode_t

§

impl RefUnwindSafe for vid_mode_t

§

impl Send for vid_mode_t

§

impl Sync for vid_mode_t

§

impl Unpin for vid_mode_t

§

impl UnwindSafe for vid_mode_t

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.