pub struct FullQuery<A>where
A: AllocatorCore,{
pub data: Poly<[f32], A>,
pub meta: FullQueryMeta,
}Expand description
A full-precision query.
Fields§
§data: Poly<[f32], A>The data after centering, normalization, and transformation.
meta: FullQueryMetaImplementations§
Source§impl<A> FullQuery<A>where
A: AllocatorCore,
impl<A> FullQuery<A>where
A: AllocatorCore,
Sourcepub fn empty(dim: usize, allocator: A) -> Result<Self, AllocatorError>
pub fn empty(dim: usize, allocator: A) -> Result<Self, AllocatorError>
Construct an empty FullQuery for dim dimensional data.
Trait Implementations§
Source§impl<'short, A> Reborrow<'short> for FullQuery<A>where
A: AllocatorCore,
impl<'short, A> Reborrow<'short> for FullQuery<A>where
A: AllocatorCore,
Source§impl<'short, A> ReborrowMut<'short> for FullQuery<A>where
A: AllocatorCore,
impl<'short, A> ReborrowMut<'short> for FullQuery<A>where
A: AllocatorCore,
type Target = Slice<&'short mut [f32], Mut<'short, FullQueryMeta>>
Source§fn reborrow_mut(&'short mut self) -> Self::Target
fn reborrow_mut(&'short mut self) -> Self::Target
Mutably borrow
self into a generalized reference type and reborrow.Auto Trait Implementations§
impl<A> Freeze for FullQuery<A>where
A: Freeze,
impl<A> RefUnwindSafe for FullQuery<A>where
A: RefUnwindSafe,
impl<A> Send for FullQuery<A>where
A: Send,
impl<A> Sync for FullQuery<A>where
A: Sync,
impl<A> Unpin for FullQuery<A>where
A: Unpin,
impl<A> UnwindSafe for FullQuery<A>where
A: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more