pub struct WindowOpacity(pub u8);Expand description
Global window opacity hint (best-effort).
This is not per-pixel transparency. The value is expressed as an 8-bit alpha where:
0= fully transparent (may be treated as hidden on some platforms),255= fully opaque.
Tuple Fields§
§0: u8Implementations§
Trait Implementations§
Source§impl Clone for WindowOpacity
impl Clone for WindowOpacity
Source§fn clone(&self) -> WindowOpacity
fn clone(&self) -> WindowOpacity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowOpacity
impl Debug for WindowOpacity
Source§impl Default for WindowOpacity
impl Default for WindowOpacity
Source§fn default() -> WindowOpacity
fn default() -> WindowOpacity
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowOpacity
impl PartialEq for WindowOpacity
impl Copy for WindowOpacity
impl Eq for WindowOpacity
impl StructuralPartialEq for WindowOpacity
Auto Trait Implementations§
impl Freeze for WindowOpacity
impl RefUnwindSafe for WindowOpacity
impl Send for WindowOpacity
impl Sync for WindowOpacity
impl Unpin for WindowOpacity
impl UnsafeUnpin for WindowOpacity
impl UnwindSafe for WindowOpacity
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