pub struct EncodedGeometry {
pub meta: EncodedStream,
pub items: Vec<EncodedStream>,
}Expand description
Wire-ready encoded geometry data (owns its byte buffers)
Fields§
§meta: EncodedStream§items: Vec<EncodedStream>Implementations§
Trait Implementations§
Source§impl Analyze for EncodedGeometry
impl Analyze for EncodedGeometry
Source§fn for_each_stream(&self, cb: &mut dyn FnMut(StreamMeta))
fn for_each_stream(&self, cb: &mut dyn FnMut(StreamMeta))
Call
cb with the StreamMeta of every stream contained in self.
Default implementation is a no-op (types that hold no streams).fn collect_statistic(&self, _stat: StatType) -> usize
Source§impl Clone for EncodedGeometry
impl Clone for EncodedGeometry
Source§fn clone(&self) -> EncodedGeometry
fn clone(&self) -> EncodedGeometry
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 EncodedGeometry
impl Debug for EncodedGeometry
Source§impl PartialEq for EncodedGeometry
impl PartialEq for EncodedGeometry
impl StructuralPartialEq for EncodedGeometry
Auto Trait Implementations§
impl Freeze for EncodedGeometry
impl RefUnwindSafe for EncodedGeometry
impl Send for EncodedGeometry
impl Sync for EncodedGeometry
impl Unpin for EncodedGeometry
impl UnsafeUnpin for EncodedGeometry
impl UnwindSafe for EncodedGeometry
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