pub struct LogZone(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl LogZone
impl LogZone
pub const NONE: Self
pub const BASIC: Self
pub const RENDER: Self
pub const MATRIX: Self
pub const SHADER: Self
pub const CHUNK: Self
pub const PHYSICS: Self
pub const AUDIO: Self
pub const NET: Self
pub const ALL: Self
pub const fn custom(bit: u32) -> Self
pub fn contains(self, other: Self) -> bool
Sourcepub fn iter_single(self) -> impl Iterator<Item = LogZone>
pub fn iter_single(self) -> impl Iterator<Item = LogZone>
Itère sur chaque zone simple (un bit) contenu dans ce bitflag. LogZone::ALL → seulement les 8 zones prédéfinies (bits 0-7). Zones custom → seulement si explicitement dans le bitflag (pas hérités de ALL).
Trait Implementations§
Source§impl BitOrAssign for LogZone
impl BitOrAssign for LogZone
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for LogZone
impl Eq for LogZone
impl StructuralPartialEq for LogZone
Auto Trait Implementations§
impl Freeze for LogZone
impl RefUnwindSafe for LogZone
impl Send for LogZone
impl Sync for LogZone
impl Unpin for LogZone
impl UnsafeUnpin for LogZone
impl UnwindSafe for LogZone
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