pub struct ExecutorItem {
pub cfg: Vec<Attribute>,
pub ident: Ident,
pub default: bool,
}Expand description
A parsed executor NAME; declaration.
Fields§
§cfg: Vec<Attribute>#[cfg(...)] attributes attached to the executor.
ident: IdentThe executor identifier.
default: booltrue if this is the graph’s default executor, inherited by eligible
nodes and pools.
Trait Implementations§
Source§impl Clone for ExecutorItem
impl Clone for ExecutorItem
Source§fn clone(&self) -> ExecutorItem
fn clone(&self) -> ExecutorItem
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 moreAuto Trait Implementations§
impl !Send for ExecutorItem
impl !Sync for ExecutorItem
impl Freeze for ExecutorItem
impl RefUnwindSafe for ExecutorItem
impl Unpin for ExecutorItem
impl UnsafeUnpin for ExecutorItem
impl UnwindSafe for ExecutorItem
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