pub struct Node2Vec(/* private fields */);
Implementations§
Source§impl Node2Vec
impl Node2Vec
pub fn total_size(&self) -> usize
pub fn item_count(&self) -> usize
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, idx: usize) -> Option<Node2>
pub fn get_unchecked(&self, idx: usize) -> Node2
pub fn as_reader<'r>(&'r self) -> Node2VecReader<'r>
Trait Implementations§
Source§impl Entity for Node2Vec
impl Entity for Node2Vec
const NAME: &'static str = "Node2Vec"
type Builder = Node2VecBuilder
fn new_unchecked(data: Bytes) -> Node2Vec
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Node2Vec, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Node2Vec, VerificationError>
fn new_builder() -> <Node2Vec as Entity>::Builder
fn as_builder(self) -> <Node2Vec as Entity>::Builder
Source§impl IntoIterator for Node2Vec
impl IntoIterator for Node2Vec
Auto Trait Implementations§
impl !Freeze for Node2Vec
impl RefUnwindSafe for Node2Vec
impl Send for Node2Vec
impl Sync for Node2Vec
impl Unpin for Node2Vec
impl UnwindSafe for Node2Vec
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)