Struct judy::Judy1[][src]

pub struct Judy1 { /* fields omitted */ }

Implementations

impl Judy1[src]

pub fn new() -> Judy1[src]

pub fn set(&mut self, index: c_ulong) -> bool[src]

pub fn set_bulk_sorted(&mut self, count: c_ulong, keys: &[c_ulong]) -> bool[src]

Warning: This function requires the keys to be sorted in relation to data already in the array. That means even if this set of keys is sorted, if it’s out of sequence with the keys in the array then the function will fail.

pub fn unset(&mut self, index: c_ulong) -> bool[src]

pub fn test(&mut self, index: c_ulong) -> bool[src]

pub fn free(&mut self) -> c_ulong[src]

pub fn iter(&self) -> Judy1Iterator<'_>[src]

pub fn count(&self, index1: c_ulong, index2: c_ulong) -> c_ulong[src]

pub fn clear(&mut self)[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl Default for Judy1[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

impl Drop for Judy1[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl RefUnwindSafe for Judy1

impl !Send for Judy1

impl !Sync for Judy1

impl Unpin for Judy1

impl UnwindSafe for Judy1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.