pub struct TypeBitmap<'a> { /* private fields */ }Expand description
Borrowed type filter bitmap (commits, trees, blobs, or tags).
Implementations§
Source§impl TypeBitmap<'_>
impl TypeBitmap<'_>
Sourcepub fn contains(&self, position: u32) -> Result<bool, BitmapError>
pub fn contains(&self, position: u32) -> Result<bool, BitmapError>
Test whether position is marked in this type index.
§Errors
Returns BitmapError::InvalidEwah when the embedded EWAH cannot be read.
Trait Implementations§
Source§impl<'a> Clone for TypeBitmap<'a>
impl<'a> Clone for TypeBitmap<'a>
impl<'a> Copy for TypeBitmap<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeBitmap<'a>
impl<'a> RefUnwindSafe for TypeBitmap<'a>
impl<'a> Send for TypeBitmap<'a>
impl<'a> Sync for TypeBitmap<'a>
impl<'a> Unpin for TypeBitmap<'a>
impl<'a> UnsafeUnpin for TypeBitmap<'a>
impl<'a> UnwindSafe for TypeBitmap<'a>
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