Trait IOleDocumentView_Impl
pub trait IOleDocumentView_Impl: IUnknownImpl {
Show 13 methods
// Required methods
fn SetInPlaceSite(&self, pipsite: Ref<'_, IOleInPlaceSite>) -> Result<()>;
fn GetInPlaceSite(&self) -> Result<IOleInPlaceSite>;
fn GetDocument(&self) -> Result<IUnknown>;
fn SetRect(&self, prcview: *const RECT) -> Result<()>;
fn GetRect(&self) -> Result<RECT>;
fn SetRectComplex(
&self,
prcview: *const RECT,
prchscroll: *const RECT,
prcvscroll: *const RECT,
prcsizebox: *const RECT,
) -> Result<()>;
fn Show(&self, fshow: BOOL) -> Result<()>;
fn UIActivate(&self, fuiactivate: BOOL) -> Result<()>;
fn Open(&self) -> Result<()>;
fn CloseView(&self, dwreserved: u32) -> Result<()>;
fn SaveViewState(&self, pstm: Ref<'_, IStream>) -> Result<()>;
fn ApplyViewState(&self, pstm: Ref<'_, IStream>) -> Result<()>;
fn Clone(
&self,
pipsitenew: Ref<'_, IOleInPlaceSite>,
) -> Result<IOleDocumentView>;
}
Required Methods§
fn SetInPlaceSite(&self, pipsite: Ref<'_, IOleInPlaceSite>) -> Result<()>
fn GetInPlaceSite(&self) -> Result<IOleInPlaceSite>
fn GetDocument(&self) -> Result<IUnknown>
fn SetRect(&self, prcview: *const RECT) -> Result<()>
fn GetRect(&self) -> Result<RECT>
fn SetRectComplex( &self, prcview: *const RECT, prchscroll: *const RECT, prcvscroll: *const RECT, prcsizebox: *const RECT, ) -> Result<()>
fn Show(&self, fshow: BOOL) -> Result<()>
fn UIActivate(&self, fuiactivate: BOOL) -> Result<()>
fn Open(&self) -> Result<()>
fn CloseView(&self, dwreserved: u32) -> Result<()>
fn SaveViewState(&self, pstm: Ref<'_, IStream>) -> Result<()>
fn ApplyViewState(&self, pstm: Ref<'_, IStream>) -> Result<()>
fn Clone( &self, pipsitenew: Ref<'_, IOleInPlaceSite>, ) -> Result<IOleDocumentView>
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.