Enum flo_canvas::TextureFormat
source · pub enum TextureFormat {
Rgba,
}
Expand description
Format of a rendering texture
Variants§
Rgba
Every pixel is 4 bytes specifying the red, green, blue and alpha values for the pixel
Trait Implementations§
source§impl CanvasEncoding<String> for TextureFormat
impl CanvasEncoding<String> for TextureFormat
source§fn encode_canvas(&self, append_to: &mut String)
fn encode_canvas(&self, append_to: &mut String)
Encodes this item by appending it to the specified string
source§impl Clone for TextureFormat
impl Clone for TextureFormat
source§fn clone(&self) -> TextureFormat
fn clone(&self) -> TextureFormat
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 TextureFormat
impl Debug for TextureFormat
source§impl<'de> Deserialize<'de> for TextureFormat
impl<'de> Deserialize<'de> for TextureFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TextureFormat> for TextureFormat
impl PartialEq<TextureFormat> for TextureFormat
source§fn eq(&self, other: &TextureFormat) -> bool
fn eq(&self, other: &TextureFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.