#[repr(u32)]pub enum ContainerType {
Window = 0,
Parent = 1,
}Variants§
Window = 0
The container has a single window in it.
Parent = 1
The container has multiple children in it.
Trait Implementations§
Source§impl Clone for ContainerType
impl Clone for ContainerType
Source§fn clone(&self) -> ContainerType
fn clone(&self) -> ContainerType
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 ContainerType
impl Debug for ContainerType
Source§impl Default for ContainerType
impl Default for ContainerType
Source§fn default() -> ContainerType
fn default() -> ContainerType
Returns the “default value” for a type. Read more
Source§impl From<ContainerType> for miracle_container_type
impl From<ContainerType> for miracle_container_type
Source§fn from(value: ContainerType) -> Self
fn from(value: ContainerType) -> Self
Converts to this type from the input type.
Source§impl Hash for ContainerType
impl Hash for ContainerType
Source§impl PartialEq for ContainerType
impl PartialEq for ContainerType
Source§impl TryFrom<u32> for ContainerType
impl TryFrom<u32> for ContainerType
impl Copy for ContainerType
impl Eq for ContainerType
impl StructuralPartialEq for ContainerType
Auto Trait Implementations§
impl Freeze for ContainerType
impl RefUnwindSafe for ContainerType
impl Send for ContainerType
impl Sync for ContainerType
impl Unpin for ContainerType
impl UnsafeUnpin for ContainerType
impl UnwindSafe for ContainerType
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