Struct itunes_com::wrappers::Window
source · pub struct Window { /* private fields */ }Expand description
Safe wrapper over a IITWindow
Implementations§
source§impl Window
impl Window
sourcepub fn Kind(&self) -> Result<ITWindowKind>
pub fn Kind(&self) -> Result<ITWindowKind>
The window kind.
sourcepub fn is_Visible(&self) -> Result<bool>
pub fn is_Visible(&self) -> Result<bool>
True if the window is visible. Note that the main browser window cannot be hidden.
sourcepub fn set_Visible(&mut self, Visible: bool) -> Result<()>
pub fn set_Visible(&mut self, Visible: bool) -> Result<()>
True if the window is visible. Note that the main browser window cannot be hidden.
sourcepub fn is_Resizable(&self) -> Result<bool>
pub fn is_Resizable(&self) -> Result<bool>
True if the window is resizable.
sourcepub fn is_Minimized(&self) -> Result<bool>
pub fn is_Minimized(&self) -> Result<bool>
True if the window is minimized.
sourcepub fn set_Minimized(&mut self, Minimized: bool) -> Result<()>
pub fn set_Minimized(&mut self, Minimized: bool) -> Result<()>
True if the window is minimized.
sourcepub fn is_Maximizable(&self) -> Result<bool>
pub fn is_Maximizable(&self) -> Result<bool>
True if the window is maximizable.
sourcepub fn is_Maximized(&self) -> Result<bool>
pub fn is_Maximized(&self) -> Result<bool>
True if the window is maximized.
sourcepub fn set_Maximized(&mut self, Maximized: bool) -> Result<()>
pub fn set_Maximized(&mut self, Maximized: bool) -> Result<()>
True if the window is maximized.
sourcepub fn is_Zoomable(&self) -> Result<bool>
pub fn is_Zoomable(&self) -> Result<bool>
True if the window is zoomable.
sourcepub fn set_Zoomed(&mut self, Zoomed: bool) -> Result<()>
pub fn set_Zoomed(&mut self, Zoomed: bool) -> Result<()>
True if the window is zoomed.
sourcepub fn set_Top(&mut self, Top: i32) -> Result<()>
pub fn set_Top(&mut self, Top: i32) -> Result<()>
The screen coordinate of the top edge of the window.
sourcepub fn set_Left(&mut self, Left: i32) -> Result<()>
pub fn set_Left(&mut self, Left: i32) -> Result<()>
The screen coordinate of the left edge of the window.
sourcepub fn set_Bottom(&mut self, Bottom: i32) -> Result<()>
pub fn set_Bottom(&mut self, Bottom: i32) -> Result<()>
The screen coordinate of the bottom edge of the window.
sourcepub fn set_Right(&mut self, Right: i32) -> Result<()>
pub fn set_Right(&mut self, Right: i32) -> Result<()>
The screen coordinate of the right edge of the window.
sourcepub fn set_Height(&mut self, Height: i32) -> Result<()>
pub fn set_Height(&mut self, Height: i32) -> Result<()>
The height of the window.
Auto Trait Implementations§
impl RefUnwindSafe for Window
impl !Send for Window
impl !Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
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