Struct rich_sdl2_rust::window::Brightness  
source · pub struct Brightness { /* private fields */ }Expand description
A brightness in the window.
Implementations§
Trait Implementations§
source§impl Clone for Brightness
 
impl Clone for Brightness
source§fn clone(&self) -> Brightness
 
fn clone(&self) -> Brightness
Returns a copy 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 Brightness
 
impl Debug for Brightness
source§impl PartialEq for Brightness
 
impl PartialEq for Brightness
source§fn eq(&self, other: &Brightness) -> bool
 
fn eq(&self, other: &Brightness) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for Brightness
 
impl PartialOrd for Brightness
source§fn partial_cmp(&self, other: &Brightness) -> Option<Ordering>
 
fn partial_cmp(&self, other: &Brightness) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Copy for Brightness
impl StructuralPartialEq for Brightness
Auto Trait Implementations§
impl RefUnwindSafe for Brightness
impl Send for Brightness
impl Sync for Brightness
impl Unpin for Brightness
impl UnwindSafe for Brightness
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