pub trait Vec4Ext {
    // Required methods
    fn from_hex_bytes(bytes: &[u8]) -> Result<Vec4, ()>;
    fn append_hex_to_string(&self, out: &mut String);
    fn color(value: &str) -> Vec4;

    // Provided method
    fn from_hex_str(hex: &str) -> Result<Vec4, ()> { ... }
}

Required Methods§

source

fn from_hex_bytes(bytes: &[u8]) -> Result<Vec4, ()>

source

fn append_hex_to_string(&self, out: &mut String)

source

fn color(value: &str) -> Vec4

Provided Methods§

Implementors§