[−][src]Struct folia::metadata::ClassStore
The declaration store holds all classes that occur (e.g. in a document for a given set and
annotation type). There are multiple class stores, which are owned by their respective Declaration
(for a given set and
annotation type).
Trait Implementations
impl Clone for ClassStore
[src]
fn clone(&self) -> ClassStore
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ClassStore
[src]
fn default() -> ClassStore
[src]
impl StringStore<u32> for ClassStore
[src]
fn items_mut(&mut self) -> &mut Vec<Option<String>>
[src]
fn index_mut(&mut self) -> &mut HashMap<String, ClassKey>
[src]
fn items(&self) -> &Vec<Option<String>>
[src]
fn index(&self) -> &HashMap<String, ClassKey>
[src]
fn iter(&self) -> Iter<'_, Option<String>>
[src]
fn add(&mut self, item: Cow<'_, str>) -> Result<Key, FoliaError>
[src]
fn get_key(&self, item: &str) -> Option<Key>
[src]
fn is_empty(&self) -> bool
[src]
fn len(&self) -> usize
[src]
fn get(&self, key: Key) -> Option<&str>
[src]
fn get_mut(&mut self, key: Key) -> Option<&mut String>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClassStore
impl Send for ClassStore
impl Sync for ClassStore
impl Unpin for ClassStore
impl UnwindSafe for ClassStore
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
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]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,