Trait Document_Impl
pub trait Document_Impl: IDispatch_Impl {
Show 16 methods
// Required methods
fn Save(&self) -> Result<()>;
fn SaveAs(&self, filename: &BSTR) -> Result<()>;
fn Close(&self, savechanges: BOOL) -> Result<()>;
fn Views(&self) -> Result<Views>;
fn SnapIns(&self) -> Result<SnapIns>;
fn ActiveView(&self) -> Result<View>;
fn Name(&self) -> Result<BSTR>;
fn SetName(&self, name: &BSTR) -> Result<()>;
fn Location(&self) -> Result<BSTR>;
fn IsSaved(&self) -> Result<BOOL>;
fn Mode(&self) -> Result<_DocumentMode>;
fn SetMode(&self, mode: _DocumentMode) -> Result<()>;
fn RootNode(&self) -> Result<Node>;
fn ScopeNamespace(&self) -> Result<ScopeNamespace>;
fn CreateProperties(&self) -> Result<Properties>;
fn Application(&self) -> Result<_Application>;
}
Required Methods§
fn Save(&self) -> Result<()>
fn SaveAs(&self, filename: &BSTR) -> Result<()>
fn Close(&self, savechanges: BOOL) -> Result<()>
fn Views(&self) -> Result<Views>
fn SnapIns(&self) -> Result<SnapIns>
fn ActiveView(&self) -> Result<View>
fn Name(&self) -> Result<BSTR>
fn SetName(&self, name: &BSTR) -> Result<()>
fn Location(&self) -> Result<BSTR>
fn IsSaved(&self) -> Result<BOOL>
fn Mode(&self) -> Result<_DocumentMode>
fn SetMode(&self, mode: _DocumentMode) -> Result<()>
fn RootNode(&self) -> Result<Node>
fn ScopeNamespace(&self) -> Result<ScopeNamespace>
fn CreateProperties(&self) -> Result<Properties>
fn Application(&self) -> Result<_Application>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.