Struct treez::prefix::TreePrefix [−][src]
pub struct TreePrefix<V> where
V: Add<Output = V> + Sub<Output = V> + Default + Clone, { /* fields omitted */ }
Methods
impl<V> TreePrefix<V> where
V: Add<Output = V> + Sub<Output = V> + Default + Clone,
[src]
impl<V> TreePrefix<V> where
V: Add<Output = V> + Sub<Output = V> + Default + Clone,
pub fn init(num: usize) -> TreePrefix<V>
[src]
pub fn init(num: usize) -> TreePrefix<V>
pub fn add(&mut self, index: usize, val: V)
[src]
pub fn add(&mut self, index: usize, val: V)
pub fn set(&mut self, index: usize, val: V)
[src]
pub fn set(&mut self, index: usize, val: V)
pub fn get(&self, index: usize) -> V
[src]
pub fn get(&self, index: usize) -> V
pub fn get_interval(&self, index: usize, index_end: usize) -> V
[src]
pub fn get_interval(&self, index: usize, index_end: usize) -> V
pub fn get_interval_start(&self, index: usize) -> V
[src]
pub fn get_interval_start(&self, index: usize) -> V
pub fn get_len(&mut self) -> usize
[src]
pub fn get_len(&mut self) -> usize
Auto Trait Implementations
impl<V> Send for TreePrefix<V> where
V: Send,
impl<V> Send for TreePrefix<V> where
V: Send,
impl<V> Sync for TreePrefix<V> where
V: Sync,
impl<V> Sync for TreePrefix<V> where
V: Sync,