Struct adi_gpu_base::Graphic[][src]

pub struct Graphic { /* fields omitted */ }

A graphic (image)

Methods

impl Graphic
[src]

Convert self into a BGRA graphic.

Convert self into a RGBA graphic.

Get the graphic as a slice (w, h, [pixels])

Get the graphic as a slice (w, h, [r, g, b, a])

Trait Implementations

impl Clone for Graphic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<Graphic> for Graphic
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Graphic

impl Sync for Graphic