pub struct EdgeInfo {
pub src: usize,
pub dst: usize,
pub features: Option<Vec<f32>>,
}Expand description
Edge information for graph attention.
Fields§
§src: usizeSource node index
dst: usizeDestination node index
features: Option<Vec<f32>>Optional edge features
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeInfo
impl RefUnwindSafe for EdgeInfo
impl Send for EdgeInfo
impl Sync for EdgeInfo
impl Unpin for EdgeInfo
impl UnwindSafe for EdgeInfo
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