pub struct PointBufferSet { /* private fields */ }Expand description
Collection of column buffers keyed by field name.
Implementations§
Source§impl PointBufferSet
impl PointBufferSet
Sourcepub fn insert(&mut self, name: impl Into<String>, buffer: PointBuffer)
pub fn insert(&mut self, name: impl Into<String>, buffer: PointBuffer)
Inserts or replaces a named buffer.
Sourcepub fn get(&self, name: &str) -> Option<&PointBuffer>
pub fn get(&self, name: &str) -> Option<&PointBuffer>
Returns a buffer by field name.
Sourcepub fn get_mut(&mut self, name: &str) -> Option<&mut PointBuffer>
pub fn get_mut(&mut self, name: &str) -> Option<&mut PointBuffer>
Returns a mutable buffer by field name.
Sourcepub fn iter(&self) -> impl Iterator<Item = (&str, &PointBuffer)>
pub fn iter(&self) -> impl Iterator<Item = (&str, &PointBuffer)>
Returns all named buffers.
Trait Implementations§
Source§impl Clone for PointBufferSet
impl Clone for PointBufferSet
Source§fn clone(&self) -> PointBufferSet
fn clone(&self) -> PointBufferSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointBufferSet
impl Debug for PointBufferSet
Source§impl Default for PointBufferSet
impl Default for PointBufferSet
Source§fn default() -> PointBufferSet
fn default() -> PointBufferSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for PointBufferSet
impl PartialEq for PointBufferSet
impl StructuralPartialEq for PointBufferSet
Auto Trait Implementations§
impl Freeze for PointBufferSet
impl RefUnwindSafe for PointBufferSet
impl Send for PointBufferSet
impl Sync for PointBufferSet
impl Unpin for PointBufferSet
impl UnsafeUnpin for PointBufferSet
impl UnwindSafe for PointBufferSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more