Struct judy::JudyL[][src]

pub struct JudyL { /* fields omitted */ }

Implementations

impl JudyL[src]

pub fn new() -> JudyL[src]

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

pub fn insert_bulk_sorted(
    &mut self,
    count: c_ulong,
    keys: &[c_ulong],
    vals: &[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 get(&self, index: c_ulong) -> Option<c_ulong>[src]

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

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

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

pub fn remove(&mut self, index: &c_ulong) -> bool[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 JudyL[src]

fn default() -> Self[src]

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

impl Drop for JudyL[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl RefUnwindSafe for JudyL

impl !Send for JudyL

impl !Sync for JudyL

impl Unpin for JudyL

impl UnwindSafe for JudyL

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.