Struct reproto_core::EmptyObject
[−]
[src]
pub struct EmptyObject { /* fields omitted */ }
An empty object.
Methods
impl EmptyObject
[src]
pub fn new(name: String) -> 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<R>fn clone_object(&self) -> Box<Object>
[src]
ⓘImportant traits for Box<R>
Lightweight cloning of this object.
ⓘImportant traits for Box<R>fn with_name(&self, name: String) -> Box<Object>
[src]
ⓘImportant traits for Box<R>
Convert the current object with the given name.