pub struct GraphEmbedding<'a> {
pub graph: &'a str,
pub dimensions: usize,
pub k_layers: u32,
}Fields§
§graph: &'a str§dimensions: usize§k_layers: u32Implementations§
Source§impl<'a> GraphEmbedding<'a>
impl<'a> GraphEmbedding<'a>
pub fn new(graph: &'a str) -> Self
pub fn dimensions(self, dims: usize) -> Self
pub fn k_layers(self, k: u32) -> Self
pub fn execute<G: GraphStore>( &self, store: &G, ) -> GraphStoreResult<GraphPostingList>
Auto Trait Implementations§
impl<'a> Freeze for GraphEmbedding<'a>
impl<'a> RefUnwindSafe for GraphEmbedding<'a>
impl<'a> Send for GraphEmbedding<'a>
impl<'a> Sync for GraphEmbedding<'a>
impl<'a> Unpin for GraphEmbedding<'a>
impl<'a> UnsafeUnpin for GraphEmbedding<'a>
impl<'a> UnwindSafe for GraphEmbedding<'a>
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