Struct cognitive_graphics::attributes::EglAttributes
[−]
[src]
pub struct EglAttributes { pub name: u32, pub width: i32, pub height: i32, pub stride: u32, pub format: u32, }
Attributes for creation EGL image.
Fields
name: u32
width: i32
height: i32
stride: u32
format: u32
Methods
impl EglAttributes
[src]
fn new(name: u32, width: i32, height: i32, stride: u32, format: u32) -> Self
Constructs new EglAttributes
.
Trait Implementations
impl Debug for EglAttributes
[src]
impl Clone for EglAttributes
[src]
fn clone(&self) -> EglAttributes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more