pub struct PersonalizationVector<'a, V: CugraphElement = i32, W: CugraphElement = f32> {
pub vertices: &'a DeviceArrayView<'a, V>,
pub values: &'a DeviceArrayView<'a, W>,
}Expand description
Personalization vector for personalized PageRank.
Fields§
§vertices: &'a DeviceArrayView<'a, V>Vertex ids in the personalization set.
values: &'a DeviceArrayView<'a, W>Personalization values for each vertex.
Trait Implementations§
Source§impl<'a, V: Debug + CugraphElement, W: Debug + CugraphElement> Debug for PersonalizationVector<'a, V, W>
impl<'a, V: Debug + CugraphElement, W: Debug + CugraphElement> Debug for PersonalizationVector<'a, V, W>
Auto Trait Implementations§
impl<'a, V = i32, W = f32> !Send for PersonalizationVector<'a, V, W>
impl<'a, V = i32, W = f32> !Sync for PersonalizationVector<'a, V, W>
impl<'a, V, W> Freeze for PersonalizationVector<'a, V, W>
impl<'a, V, W> RefUnwindSafe for PersonalizationVector<'a, V, W>
impl<'a, V, W> Unpin for PersonalizationVector<'a, V, W>
impl<'a, V, W> UnsafeUnpin for PersonalizationVector<'a, V, W>
impl<'a, V, W> UnwindSafe for PersonalizationVector<'a, V, W>
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