Struct rbml::DocExperimental
[-]
[+]
[src]
pub struct Doc<'a> {
pub data: &'a [u8],
pub start: uint,
pub end: uint,
}Common data structures
Fields
data | |
start | |
end |
pub struct Doc<'a> {
pub data: &'a [u8],
pub start: uint,
pub end: uint,
}Common data structures
data | |
start | |
end |
impl<'doc> Doc<'doc>fn new(data: &'doc [u8]) -> Doc<'doc>fn get<'a>(&'a self, tag: uint) -> Doc<'a>fn as_str_slice<'a>(&'a self) -> &'a strfn as_str(&self) -> Stringimpl<'a> Copy for Doc<'a>impl<'a> Clone for Doc<'a>fn clone(&self) -> Doc<'a>fn clone_from(&mut self, source: &Self)
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, enum,
trait, typedef (or
tdef).