pub struct SplatProjection {
pub embedding: [f32; 384],
}Fields§
§embedding: [f32; 384]Trait Implementations§
Source§impl Clone for SplatProjection
impl Clone for SplatProjection
Source§fn clone(&self) -> SplatProjection
fn clone(&self) -> SplatProjection
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 SplatProjection
impl Debug for SplatProjection
Source§impl Default for SplatProjection
impl Default for SplatProjection
Source§impl Projection for SplatProjection
impl Projection for SplatProjection
Source§fn id() -> ProjectionId
fn id() -> ProjectionId
Projection type identifier.
Source§fn read(buf: &[u8]) -> Self
fn read(buf: &[u8]) -> Self
Read projection state from a byte slice.
Panics if
buf.len() < Self::byte_size().Source§fn write(&self, buf: &mut [u8])
fn write(&self, buf: &mut [u8])
Write projection state into a byte slice.
Panics if
buf.len() < Self::byte_size().Source§fn shape_hash_contribution(&self) -> u32
fn shape_hash_contribution(&self) -> u32
Contribution to the atom’s shape hash (FNV-1a input).
Auto Trait Implementations§
impl Freeze for SplatProjection
impl RefUnwindSafe for SplatProjection
impl Send for SplatProjection
impl Sync for SplatProjection
impl Unpin for SplatProjection
impl UnsafeUnpin for SplatProjection
impl UnwindSafe for SplatProjection
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