pub struct PackedLightPropagationQueues {
increase: PackedLightPropagationQueue,
decrease: PackedLightPropagationQueue,
}Expand description
ScalableLux’s separate packed increase and decrease propagation queues.
Fields§
§increase: PackedLightPropagationQueue§decrease: PackedLightPropagationQueueImplementations§
Source§impl PackedLightPropagationQueues
impl PackedLightPropagationQueues
Sourcepub const fn has_work(&self) -> bool
pub const fn has_work(&self) -> bool
Returns true when either packed propagation queue contains work.
Sourcepub fn enqueue_decrease(&mut self, entry: PackedLightQueueEntry)
pub fn enqueue_decrease(&mut self, entry: PackedLightQueueEntry)
Enqueues packed decrease propagation work.
Sourcepub fn enqueue_increase(&mut self, entry: PackedLightQueueEntry)
pub fn enqueue_increase(&mut self, entry: PackedLightQueueEntry)
Enqueues packed increase propagation work.
Sourcepub fn dequeue_decrease(&mut self) -> Option<PackedLightQueueEntry>
pub fn dequeue_decrease(&mut self) -> Option<PackedLightQueueEntry>
Dequeues packed decrease propagation work.
Sourcepub fn dequeue_increase(&mut self) -> Option<PackedLightQueueEntry>
pub fn dequeue_increase(&mut self) -> Option<PackedLightQueueEntry>
Dequeues packed increase propagation work.
Trait Implementations§
Source§impl Debug for PackedLightPropagationQueues
impl Debug for PackedLightPropagationQueues
Source§impl Default for PackedLightPropagationQueues
impl Default for PackedLightPropagationQueues
Source§fn default() -> PackedLightPropagationQueues
fn default() -> PackedLightPropagationQueues
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackedLightPropagationQueues
impl RefUnwindSafe for PackedLightPropagationQueues
impl Send for PackedLightPropagationQueues
impl Sync for PackedLightPropagationQueues
impl Unpin for PackedLightPropagationQueues
impl UnsafeUnpin for PackedLightPropagationQueues
impl UnwindSafe for PackedLightPropagationQueues
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>