pub struct Frame(/* private fields */);
Implementations§
§impl Frame
impl Frame
pub unsafe fn Maximize(&self) -> Result<()>
pub unsafe fn Minimize(&self) -> Result<()>
pub unsafe fn Restore(&self) -> Result<()>
pub unsafe fn Top(&self) -> Result<i32>
pub unsafe fn SetTop(&self, top: i32) -> Result<()>
pub unsafe fn Bottom(&self) -> Result<i32>
pub unsafe fn SetBottom(&self, bottom: i32) -> Result<()>
pub unsafe fn Left(&self) -> Result<i32>
pub unsafe fn SetLeft(&self, left: i32) -> Result<()>
pub unsafe fn Right(&self) -> Result<i32>
pub unsafe fn SetRight(&self, right: i32) -> Result<()>
Trait Implementations§
§impl Interface for Frame
impl Interface for Frame
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl RefUnwindSafe for Frame
impl !Send for Frame
impl !Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more