pub(crate) struct DepthFill {
bucket_range: BucketRange,
pub(crate) attrs_idx: u32,
}Expand description
Fill a whole range of depth buckets with the given paint.
Fields§
§bucket_range: BucketRange§attrs_idx: u32Implementations§
Source§impl DepthFill
impl DepthFill
pub(crate) fn new(bucket_range: BucketRange, attrs_idx: u32) -> Self
pub(crate) fn bucket_range(self) -> BucketRange
pub(crate) fn span(self) -> Span
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepthFill
impl RefUnwindSafe for DepthFill
impl Send for DepthFill
impl Sync for DepthFill
impl Unpin for DepthFill
impl UnsafeUnpin for DepthFill
impl UnwindSafe for DepthFill
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§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 more