Struct reproto_core::EmptyObject
[−]
[src]
pub struct EmptyObject { /* fields omitted */ }An empty object.
Methods
impl EmptyObject[src]
pub fn new<S: AsRef<str>>(name: S) -> EmptyObject[src]
Create a new empty object with the given name.
Trait Implementations
impl Debug for EmptyObject[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Object for EmptyObject[src]
fn path(&self) -> Option<&Path>[src]
Get a path to the object, if one exists.
fn read(&self) -> Result<Box<Read>>[src]
Open a reader to the object.
ⓘImportant traits for Box<W>fn clone_object(&self) -> Box<Object>[src]
ⓘImportant traits for Box<W>
Lightweight cloning of this object.
ⓘImportant traits for Box<W>fn with_name(&self, name: String) -> Box<Object>[src]
ⓘImportant traits for Box<W>
Convert the current object with the given name.