Struct ConfigWindow
pub struct ConfigWindow(/* private fields */);
Implementations§
§impl ConfigWindow
impl ConfigWindow
pub const X: ConfigWindow = _
pub const Y: ConfigWindow = _
pub const WIDTH: ConfigWindow = _
pub const HEIGHT: ConfigWindow = _
pub const BORDER_WIDTH: ConfigWindow = _
pub const SIBLING: ConfigWindow = _
pub const STACK_MODE: ConfigWindow = _
§impl ConfigWindow
impl ConfigWindow
pub fn contains(self, flag: impl Into<u16>) -> bool
pub fn contains(self, flag: impl Into<u16>) -> bool
Check if this object has all bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
pub fn intersects(self, flag: impl Into<u16>) -> bool
pub fn intersects(self, flag: impl Into<u16>) -> bool
Check if this object has some bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
pub fn remove(self, flags: impl Into<u16>) -> ConfigWindow
pub fn remove(self, flags: impl Into<u16>) -> ConfigWindow
Remove some flags.
All bits that are set in the given flags are removed from the self
instance, if
they are present.
Trait Implementations§
§impl BitAnd<u16> for ConfigWindow
impl BitAnd<u16> for ConfigWindow
§impl BitAnd for ConfigWindow
impl BitAnd for ConfigWindow
§type Output = ConfigWindow
type Output = ConfigWindow
The resulting type after applying the
&
operator.§fn bitand(self, other: ConfigWindow) -> <ConfigWindow as BitAnd>::Output
fn bitand(self, other: ConfigWindow) -> <ConfigWindow as BitAnd>::Output
Performs the
&
operation. Read more§impl BitAndAssign<u16> for ConfigWindow
impl BitAndAssign<u16> for ConfigWindow
§fn bitand_assign(&mut self, other: u16)
fn bitand_assign(&mut self, other: u16)
Performs the
&=
operation. Read more§impl BitAndAssign for ConfigWindow
impl BitAndAssign for ConfigWindow
§fn bitand_assign(&mut self, other: ConfigWindow)
fn bitand_assign(&mut self, other: ConfigWindow)
Performs the
&=
operation. Read more§impl BitOr<u16> for ConfigWindow
impl BitOr<u16> for ConfigWindow
§impl BitOr for ConfigWindow
impl BitOr for ConfigWindow
§type Output = ConfigWindow
type Output = ConfigWindow
The resulting type after applying the
|
operator.§fn bitor(self, other: ConfigWindow) -> <ConfigWindow as BitOr>::Output
fn bitor(self, other: ConfigWindow) -> <ConfigWindow as BitOr>::Output
Performs the
|
operation. Read more§impl BitOrAssign<u16> for ConfigWindow
impl BitOrAssign<u16> for ConfigWindow
§fn bitor_assign(&mut self, other: u16)
fn bitor_assign(&mut self, other: u16)
Performs the
|=
operation. Read more§impl BitOrAssign for ConfigWindow
impl BitOrAssign for ConfigWindow
§fn bitor_assign(&mut self, other: ConfigWindow)
fn bitor_assign(&mut self, other: ConfigWindow)
Performs the
|=
operation. Read more§impl Clone for ConfigWindow
impl Clone for ConfigWindow
§fn clone(&self) -> ConfigWindow
fn clone(&self) -> ConfigWindow
Returns a copy 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 more§impl Debug for ConfigWindow
impl Debug for ConfigWindow
§impl Default for ConfigWindow
impl Default for ConfigWindow
§fn default() -> ConfigWindow
fn default() -> ConfigWindow
Returns the “default value” for a type. Read more
§impl From<u16> for ConfigWindow
impl From<u16> for ConfigWindow
§fn from(value: u16) -> ConfigWindow
fn from(value: u16) -> ConfigWindow
Converts to this type from the input type.
§impl From<u8> for ConfigWindow
impl From<u8> for ConfigWindow
§fn from(value: u8) -> ConfigWindow
fn from(value: u8) -> ConfigWindow
Converts to this type from the input type.
§impl Hash for ConfigWindow
impl Hash for ConfigWindow
§impl Ord for ConfigWindow
impl Ord for ConfigWindow
§impl PartialEq for ConfigWindow
impl PartialEq for ConfigWindow
§impl PartialOrd for ConfigWindow
impl PartialOrd for ConfigWindow
impl Copy for ConfigWindow
impl Eq for ConfigWindow
impl StructuralPartialEq for ConfigWindow
Auto Trait Implementations§
impl Freeze for ConfigWindow
impl RefUnwindSafe for ConfigWindow
impl Send for ConfigWindow
impl Sync for ConfigWindow
impl Unpin for ConfigWindow
impl UnwindSafe for ConfigWindow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)