pub struct Element<T> {
pub bitoff: T,
pub bitlen: T,
/* private fields */
}Expand description
An element representing a run of set bits in an RleBitmapBase.
Fields§
§bitoff: TThe start offset of this run of 1-bits.
bitlen: TThe number of 1-bits in this run.
Implementations§
Trait Implementations§
Source§impl<T> DoublyLinkedListContainable<Element<T>> for Element<T>
impl<T> DoublyLinkedListContainable<Element<T>> for Element<T>
Source§fn get_node(&self) -> &DoublyLinkedListNode<Element<T>>
fn get_node(&self) -> &DoublyLinkedListNode<Element<T>>
Returns a reference to the list node.
Source§impl<T> Recyclable for Element<T>
impl<T> Recyclable for Element<T>
Source§impl<T> UninitRecyclable for Element<T>
impl<T> UninitRecyclable for Element<T>
Source§unsafe fn recycle_uninit(ptr: NonNull<MaybeUninit<Self>>)
unsafe fn recycle_uninit(ptr: NonNull<MaybeUninit<Self>>)
Recycles an uninitialized object. Read more
Source§fn allocate_uninit() -> Result<NonNull<MaybeUninit<Self>>, AllocError>
fn allocate_uninit() -> Result<NonNull<MaybeUninit<Self>>, AllocError>
Allocates a new uninitialized instance of
Self.Auto Trait Implementations§
impl<T> !Freeze for Element<T>
impl<T> !RefUnwindSafe for Element<T>
impl<T> !Send for Element<T>
impl<T> !Sync for Element<T>
impl<T> Unpin for Element<T>where
T: Unpin,
impl<T> UnsafeUnpin for Element<T>where
T: UnsafeUnpin,
impl<T> !UnwindSafe for Element<T>
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> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more