Struct graphannis_core::annostorage::inmemory::AnnoStorageImpl[][src]

pub struct AnnoStorageImpl<T: Ord + Hash + MallocSizeOf + Default> { /* fields omitted */ }

Implementations

Trait Implementations

Insert an annotation anno (with annotation key and value) for an item item.

Remove the annotation given by its key for a specific item Returns the value for that annotation, if it existed. Read more

Remove all annotations.

Get all qualified annotation names (including namespace) for a given annotation name

Get all annotations for an item (node or edge).

Return the total number of annotations contained in this AnnotationStorage.

Return true if there are no annotations in this AnnotationStorage.

Get the annotation for a given item and the annotation key.

Returns true if the given item has an annotation for the given key.

Get the matching annotation keys for each item in the iterator. Read more

Return the number of annotations contained in this AnnotationStorage filtered by name and optional namespace (ns).

Returns an iterator for all items that exactly match the given annotation constraints. The annotation name must be given as argument, the other arguments are optional. Read more

Returns an iterator for all items where the value matches the regular expression. The annotation name and the pattern for the value must be given as argument, the
namespace argument is optional and can be used as additional constraint. Read more

Get all the annotation keys of a node, filtered by the optional namespace (ns) and name.

Estimate the number of results for an annotation exact search for a given an inclusive value range. Read more

Estimate the number of results for an annotation regular expression search for a given pattern. Read more

Estimate the most frequent value for a given annotation name with an optional namespace (ns). Read more

Return a list of all existing values for a given annotation key. If the most_frequent_first parameter is true, the results are sorted by their frequency. Read more

Get all the annotation keys which are part of this annotation storage

Return the item with the largest item which has an annotation value in this annotation storage. Read more

(Re-) calculate the internal statistics needed for estimating annotation values. Read more

Load the annotation from an external location.

Save the current annotation to a location on the disk, but do not remember this location.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.