#[repr(C)]pub struct sfVideoMode {
pub width: c_uint,
pub height: c_uint,
pub bitsPerPixel: c_uint,
}
Fields§
§width: c_uint
§height: c_uint
§bitsPerPixel: c_uint
Trait Implementations§
Source§impl Clone for sfVideoMode
impl Clone for sfVideoMode
Source§fn clone(&self) -> sfVideoMode
fn clone(&self) -> sfVideoMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for sfVideoMode
impl Debug for sfVideoMode
Source§impl Hash for sfVideoMode
impl Hash for sfVideoMode
Source§impl Ord for sfVideoMode
impl Ord for sfVideoMode
Source§fn cmp(&self, other: &sfVideoMode) -> Ordering
fn cmp(&self, other: &sfVideoMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for sfVideoMode
impl PartialEq for sfVideoMode
Source§impl PartialOrd for sfVideoMode
impl PartialOrd for sfVideoMode
impl Copy for sfVideoMode
impl Eq for sfVideoMode
impl StructuralPartialEq for sfVideoMode
Auto Trait Implementations§
impl Freeze for sfVideoMode
impl RefUnwindSafe for sfVideoMode
impl Send for sfVideoMode
impl Sync for sfVideoMode
impl Unpin for sfVideoMode
impl UnwindSafe for sfVideoMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more