pub trait Default { fn fmt(&Self, &mut Formatter); }
When a format is not otherwise specified, types are formatted by ascribing to this trait. There is not an explicit way of selecting this trait to be used for formatting, it is only if no other format is specified.
fn fmt(&Self, &mut Formatter)
impl<'self> Default for int
impl<'self> Default for i8
impl<'self> Default for i16
impl<'self> Default for i32
impl<'self> Default for i64
impl<'self> Default for uint
impl<'self> Default for u8
impl<'self> Default for u16
impl<'self> Default for u32
impl<'self> Default for u64
impl<'self> Default for @str
impl<'self> Default for ~str
impl<'self> Default for &'self str
impl<'self> Default for bool
impl<'self> Default for char
impl<'self> Default for float
impl<'self> Default for f32
impl<'self> Default for f64
impl<T> Default for *T
impl<T> Default for *mut T
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
).