Struct ngt::NgtProperties
source · pub struct NgtProperties<T> { /* private fields */ }
Implementations§
source§impl<T> NgtProperties<T>where
T: NgtObjectType,
impl<T> NgtProperties<T>where T: NgtObjectType,
pub fn dimension(dimension: usize) -> Result<Self>
pub fn try_clone(&self) -> Result<Self>
pub fn creation_edge_size(self, size: usize) -> Result<Self>
pub fn search_edge_size(self, size: usize) -> Result<Self>
pub fn distance_type(self, distance_type: NgtDistance) -> Result<Self>
Trait Implementations§
source§impl<T: Debug> Debug for NgtProperties<T>
impl<T: Debug> Debug for NgtProperties<T>
source§impl<T> Drop for NgtProperties<T>
impl<T> Drop for NgtProperties<T>
source§impl<T> TryFrom<QgProperties<T>> for NgtProperties<T>where
T: QgObjectType + NgtObjectType,
Available on crate feature quantized
only.
impl<T> TryFrom<QgProperties<T>> for NgtProperties<T>where T: QgObjectType + NgtObjectType,
Available on crate feature
quantized
only.impl<T> Send for NgtProperties<T>
impl<T> Sync for NgtProperties<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for NgtProperties<T>where T: RefUnwindSafe,
impl<T> Unpin for NgtProperties<T>where T: Unpin,
impl<T> UnwindSafe for NgtProperties<T>where T: 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