pub trait ToBase64 { fn to_base64(&self, config: Config) -> ~str; }
A trait for converting a value to base64 encoding.
fn to_base64(&self, config: Config) -> ~str
Converts the value of self
to a base64 value following the specified
format configuration, returning the owned string.
impl<'self> ToBase64 for &'self [u8]
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).