Reorder AllocationDefinedness members
This improves the clarity of the documentation a bit since they can reference each other when reading the member docs in sequence.
This commit is contained in:
parent
823c3b9845
commit
f3c435eb78
@ -581,10 +581,11 @@ pub fn mark_definedness(
|
|||||||
/// Run-length encoding of the undef mask.
|
/// Run-length encoding of the undef mask.
|
||||||
/// Used to copy parts of a mask multiple times to another allocation.
|
/// Used to copy parts of a mask multiple times to another allocation.
|
||||||
pub struct AllocationDefinedness {
|
pub struct AllocationDefinedness {
|
||||||
/// The lengths of ranges that are run-length encoded.
|
|
||||||
ranges: smallvec::SmallVec::<[u64; 1]>,
|
|
||||||
/// The definedness of the first range.
|
/// The definedness of the first range.
|
||||||
initial: bool,
|
initial: bool,
|
||||||
|
/// The lengths of ranges that are run-length encoded.
|
||||||
|
/// The definedness of the ranges alternate starting with `initial`.
|
||||||
|
ranges: smallvec::SmallVec::<[u64; 1]>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Transferring the definedness mask to other allocations.
|
/// Transferring the definedness mask to other allocations.
|
||||||
|
Loading…
Reference in New Issue
Block a user