pub struct GraphNodeSpec {
pub id: String,
pub device: String,
pub fusable: bool,
}Expand description
Static placement and fusion properties for one operator.
Fields§
§id: StringStable node identifier.
device: StringHost/device placement label.
fusable: boolWhether this operator permits queue-eliding fusion with neighbors.
Implementations§
Trait Implementations§
Source§impl Clone for GraphNodeSpec
impl Clone for GraphNodeSpec
Source§fn clone(&self) -> GraphNodeSpec
fn clone(&self) -> GraphNodeSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphNodeSpec
impl Debug for GraphNodeSpec
Source§impl PartialEq for GraphNodeSpec
impl PartialEq for GraphNodeSpec
Source§fn eq(&self, other: &GraphNodeSpec) -> bool
fn eq(&self, other: &GraphNodeSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GraphNodeSpec
impl StructuralPartialEq for GraphNodeSpec
Auto Trait Implementations§
impl Freeze for GraphNodeSpec
impl RefUnwindSafe for GraphNodeSpec
impl Send for GraphNodeSpec
impl Sync for GraphNodeSpec
impl Unpin for GraphNodeSpec
impl UnsafeUnpin for GraphNodeSpec
impl UnwindSafe for GraphNodeSpec
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