Struct fermium::renderer::SDL_RendererFlags
source · #[repr(transparent)]pub struct SDL_RendererFlags(pub u32);
Expand description
Flags used when creating a rendering context
Tuple Fields§
§0: u32
Trait Implementations§
source§impl BitAnd<SDL_RendererFlags> for SDL_RendererFlags
impl BitAnd<SDL_RendererFlags> for SDL_RendererFlags
source§impl BitAndAssign<SDL_RendererFlags> for SDL_RendererFlags
impl BitAndAssign<SDL_RendererFlags> for SDL_RendererFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr<SDL_RendererFlags> for SDL_RendererFlags
impl BitOr<SDL_RendererFlags> for SDL_RendererFlags
source§impl BitOrAssign<SDL_RendererFlags> for SDL_RendererFlags
impl BitOrAssign<SDL_RendererFlags> for SDL_RendererFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor<SDL_RendererFlags> for SDL_RendererFlags
impl BitXor<SDL_RendererFlags> for SDL_RendererFlags
source§impl BitXorAssign<SDL_RendererFlags> for SDL_RendererFlags
impl BitXorAssign<SDL_RendererFlags> for SDL_RendererFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for SDL_RendererFlags
impl Clone for SDL_RendererFlags
source§fn clone(&self) -> SDL_RendererFlags
fn clone(&self) -> SDL_RendererFlags
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 SDL_RendererFlags
impl Debug for SDL_RendererFlags
source§impl Default for SDL_RendererFlags
impl Default for SDL_RendererFlags
source§fn default() -> SDL_RendererFlags
fn default() -> SDL_RendererFlags
Returns the “default value” for a type. Read more
source§impl Hash for SDL_RendererFlags
impl Hash for SDL_RendererFlags
source§impl Not for SDL_RendererFlags
impl Not for SDL_RendererFlags
source§impl Ord for SDL_RendererFlags
impl Ord for SDL_RendererFlags
source§fn cmp(&self, other: &SDL_RendererFlags) -> Ordering
fn cmp(&self, other: &SDL_RendererFlags) -> 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<SDL_RendererFlags> for SDL_RendererFlags
impl PartialEq<SDL_RendererFlags> for SDL_RendererFlags
source§fn eq(&self, other: &SDL_RendererFlags) -> bool
fn eq(&self, other: &SDL_RendererFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_RendererFlags> for SDL_RendererFlags
impl PartialOrd<SDL_RendererFlags> for SDL_RendererFlags
source§fn partial_cmp(&self, other: &SDL_RendererFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_RendererFlags) -> 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 SDL_RendererFlags
impl Eq for SDL_RendererFlags
impl StructuralEq for SDL_RendererFlags
impl StructuralPartialEq for SDL_RendererFlags
Auto Trait Implementations§
impl RefUnwindSafe for SDL_RendererFlags
impl Send for SDL_RendererFlags
impl Sync for SDL_RendererFlags
impl Unpin for SDL_RendererFlags
impl UnwindSafe for SDL_RendererFlags
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