Trait clucolor::cluColor[][src]

pub trait cluColor: Clone + Debug + Display + Eq + Hash + Ord + PartialEq + PartialOrd {
    fn raw_color<'a>() -> &'a str;
fn raw_color_b<'a>() -> &'a [u8];
fn name<'a>() -> &'a str;
fn string<'a>(str: &'a str) -> String;
fn string_fmt<'a>(fmt: Arguments<'a>) -> String;
fn stringn<'a>(str: &'a str) -> String;
fn stringn_fmt<'a>(fmt: Arguments<'a>) -> String;
fn write<'a>(w: &mut Write, buf: &'a [u8]) -> Result<()>;
fn write_str<'a>(w: &mut Write, str: &'a str) -> Result<()>;
fn write_fmt<'a>(w: &mut Write, fmt: Arguments<'a>) -> Result<()>;
fn writen<'a>(w: &mut Write, buf: &'a [u8]) -> Result<()>;
fn writen_str<'a>(w: &mut Write, str: &'a str) -> Result<()>;
fn writen_fmt<'a>(w: &mut Write, fmt: Arguments<'a>) -> Result<()>; fn writer<'a>() -> cluColorWriter<Self> { ... }
fn string_as<'a, A: AsRef<str>>(asref: A) -> String { ... }
fn stringn_as<'a, A: AsRef<str>>(asref: A) -> String { ... }
fn write_as<'a, A: AsRef<[u8]>>(w: &mut Write, asref: A) -> Result<()> { ... }
fn writen_as<'a, A: AsRef<[u8]>>(w: &mut Write, asref: A) -> Result<()> { ... } }

Common features implemented by the generalized type.

Required Methods

Color str type

Color array type

Name color

Provided Methods

Implementors