Struct sdl2::render::RendererInfo
source · pub struct RendererInfo {
pub name: &'static str,
pub flags: u32,
pub texture_formats: Vec<PixelFormatEnum>,
pub max_texture_width: u32,
pub max_texture_height: u32,
}
Expand description
A structure that contains information on the capabilities of a render driver or the current render context.
Fields
name: &'static str
flags: u32
texture_formats: Vec<PixelFormatEnum>
max_texture_width: u32
max_texture_height: u32
Implementations
sourceimpl RendererInfo
impl RendererInfo
pub unsafe fn from_ll(info: &SDL_RendererInfo) -> RendererInfo
Trait Implementations
sourceimpl Clone for RendererInfo
impl Clone for RendererInfo
sourcefn clone(&self) -> RendererInfo
fn clone(&self) -> RendererInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RendererInfo
impl Debug for RendererInfo
sourceimpl Hash for RendererInfo
impl Hash for RendererInfo
sourceimpl PartialEq<RendererInfo> for RendererInfo
impl PartialEq<RendererInfo> for RendererInfo
sourcefn eq(&self, other: &RendererInfo) -> bool
fn eq(&self, other: &RendererInfo) -> bool
impl Eq for RendererInfo
impl StructuralEq for RendererInfo
impl StructuralPartialEq for RendererInfo
Auto Trait Implementations
impl RefUnwindSafe for RendererInfo
impl Send for RendererInfo
impl Sync for RendererInfo
impl Unpin for RendererInfo
impl UnwindSafe for RendererInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more