pub enum CoreNodeKind {
Runtime(RuntimeNode),
Custom(CustomNode),
}Variants§
Implementations§
Source§impl CoreNodeKind
impl CoreNodeKind
pub fn as_custom(&self) -> Option<&CustomNode>
Trait Implementations§
Source§impl Clone for CoreNodeKind
impl Clone for CoreNodeKind
Source§fn clone(&self) -> CoreNodeKind
fn clone(&self) -> CoreNodeKind
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 CoreNodeKind
impl Debug for CoreNodeKind
Source§impl<'de> Deserialize<'de> for CoreNodeKind
impl<'de> Deserialize<'de> for CoreNodeKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoreNodeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoreNodeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CoreNodeKind
impl Serialize for CoreNodeKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for CoreNodeKind
impl Freeze for CoreNodeKindwhere
*const u8 is !null: Freeze,
PhantomData<OperatorDefinition>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, EnvValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, EnvValue)>>: Freeze,
*const LeafNode<DataId, Input> is !null: Freeze,
PhantomData<Box<(DataId, Input)>>: Freeze,
*const LeafNode<DataId, SetValZST> is !null: Freeze,
PhantomData<Box<(DataId, SetValZST)>>: Freeze,
*const LeafNode<DataId, String> is !null: Freeze,
PhantomData<Box<(DataId, String)>>: Freeze,
*const LeafNode<DataId, OutputFraming> is !null: Freeze,
PhantomData<Box<(DataId, OutputFraming)>>: Freeze,
impl Move for CoreNodeKind
impl RefUnwindSafe for CoreNodeKind
impl Send for CoreNodeKindwhere
RawVecInner: Send,
NodeRef<Owned, DataId, Input, LeafOrInternal>: Send,
BoxRaw<(DataId, Input)>: Send,
NodeRef<Owned, DataId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(DataId, SetValZST)>: Send,
NodeRef<Owned, DataId, String, LeafOrInternal>: Send,
BoxRaw<(DataId, String)>: Send,
NodeRef<Owned, DataId, OutputFraming, LeafOrInternal>: Send,
BoxRaw<(DataId, OutputFraming)>: Send,
NodeRef<Owned, DataId, Vec<String>, LeafOrInternal>: Send,
BoxRaw<(DataId, Vec<String>)>: Send,
NodeRef<Owned, String, EnvValue, LeafOrInternal>: Send,
BoxRaw<(String, EnvValue)>: Send,
impl Sync for CoreNodeKindwhere
RawVecInner: Sync,
NodeRef<Owned, DataId, Input, LeafOrInternal>: Sync,
BoxRaw<(DataId, Input)>: Sync,
NodeRef<Owned, DataId, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(DataId, SetValZST)>: Sync,
NodeRef<Owned, DataId, String, LeafOrInternal>: Sync,
BoxRaw<(DataId, String)>: Sync,
NodeRef<Owned, DataId, OutputFraming, LeafOrInternal>: Sync,
BoxRaw<(DataId, OutputFraming)>: Sync,
NodeRef<Owned, DataId, Vec<String>, LeafOrInternal>: Sync,
BoxRaw<(DataId, Vec<String>)>: Sync,
NodeRef<Owned, String, EnvValue, LeafOrInternal>: Sync,
BoxRaw<(String, EnvValue)>: Sync,
impl Unpin for CoreNodeKindwhere
*const u8 is !null: Unpin,
*const LeafNode<DataId, Input> is !null: Unpin,
Box<(DataId, Input)>: Unpin,
*const LeafNode<DataId, SetValZST> is !null: Unpin,
Box<(DataId, SetValZST)>: Unpin,
*const LeafNode<DataId, String> is !null: Unpin,
Box<(DataId, String)>: Unpin,
*const LeafNode<DataId, OutputFraming> is !null: Unpin,
Box<(DataId, OutputFraming)>: Unpin,
*const LeafNode<DataId, Vec<String>> is !null: Unpin,
Box<(DataId, Vec<String>)>: Unpin,
*const LeafNode<String, EnvValue> is !null: Unpin,
Box<(String, EnvValue)>: Unpin,
impl UnsafeUnpin for CoreNodeKindwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OperatorDefinition>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, EnvValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, EnvValue)>>: UnsafeUnpin,
*const LeafNode<DataId, Input> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, Input)>>: UnsafeUnpin,
*const LeafNode<DataId, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, SetValZST)>>: UnsafeUnpin,
*const LeafNode<DataId, String> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, String)>>: UnsafeUnpin,
*const LeafNode<DataId, OutputFraming> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, OutputFraming)>>: UnsafeUnpin,
impl UnwindSafe for CoreNodeKindwhere
RawVecInner: UnwindSafe,
BTreeMap<DataId, Input>: UnwindSafe,
BTreeMap<DataId, SetValZST>: UnwindSafe,
BTreeMap<DataId, String>: UnwindSafe,
BTreeMap<DataId, OutputFraming>: UnwindSafe,
BTreeMap<DataId, Vec<String>>: UnwindSafe,
BTreeMap<String, EnvValue>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more