Struct browser_window::window::Opacity
source · pub struct Opacity<'a> { /* private fields */ }
Expand description
Gets or sets the opacity of the window. An opacity of 255 means the window is invisible. An opacity of 0 means the window is completely visible. Anything in between makes the window transparent.
This feature only works on Windows.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Opacity<'a>
impl<'a> !Send for Opacity<'a>
impl<'a> !Sync for Opacity<'a>
impl<'a> Unpin for Opacity<'a>
impl<'a> UnwindSafe for Opacity<'a>
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