pub enum PlanNodeOrGroup<T: NodeType> {
PlanNode(ArcPlanNode<T>),
Group(GroupId),
}
Variants§
PlanNode(ArcPlanNode<T>)
Group(GroupId)
Implementations§
Source§impl<T: NodeType> PlanNodeOrGroup<T>
impl<T: NodeType> PlanNodeOrGroup<T>
pub fn is_materialized(&self) -> bool
pub fn unwrap_typ(&self) -> T
pub fn unwrap_plan_node(&self) -> ArcPlanNode<T>
pub fn unwrap_group(&self) -> GroupId
Trait Implementations§
Source§impl<T: Clone + NodeType> Clone for PlanNodeOrGroup<T>
impl<T: Clone + NodeType> Clone for PlanNodeOrGroup<T>
Source§fn clone(&self) -> PlanNodeOrGroup<T>
fn clone(&self) -> PlanNodeOrGroup<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: NodeType> Display for PlanNodeOrGroup<T>
impl<T: NodeType> Display for PlanNodeOrGroup<T>
Source§impl<T: NodeType> From<Arc<PlanNode<T>>> for PlanNodeOrGroup<T>
impl<T: NodeType> From<Arc<PlanNode<T>>> for PlanNodeOrGroup<T>
Source§fn from(value: ArcPlanNode<T>) -> Self
fn from(value: ArcPlanNode<T>) -> Self
Converts to this type from the input type.
impl<T: Eq + NodeType> Eq for PlanNodeOrGroup<T>
impl<T: NodeType> StructuralPartialEq for PlanNodeOrGroup<T>
Auto Trait Implementations§
impl<T> Freeze for PlanNodeOrGroup<T>
impl<T> RefUnwindSafe for PlanNodeOrGroup<T>
impl<T> Send for PlanNodeOrGroup<T>
impl<T> Sync for PlanNodeOrGroup<T>
impl<T> Unpin for PlanNodeOrGroup<T>
impl<T> UnwindSafe for PlanNodeOrGroup<T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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