Enum Mono

Source
pub enum Mono<T>
where T: Tuple + 'static,
{ Full(Full<T>), Empty(Empty<T>), Singleton(Singleton<T>), Relation(Relation<T>), Select(Box<Select<T, Mono<T>>>), Project(Box<Project<T, T, Mono<T>>>), Union(Box<Union<T, Mono<T>, Mono<T>>>), Intersect(Box<Intersect<T, Mono<T>, Mono<T>>>), Difference(Box<Difference<T, Mono<T>, Mono<T>>>), Product(Box<Product<T, T, Mono<T>, Mono<T>, T>>), Join(Box<Join<T, T, T, Mono<T>, Mono<T>, T>>), View(Box<View<T, Mono<T>>>), }
Expand description

Is a recursive expression where all subexpressions act on the same Tuple type.;

Variants§

§

Full(Full<T>)

§

Empty(Empty<T>)

§

Singleton(Singleton<T>)

§

Relation(Relation<T>)

§

Select(Box<Select<T, Mono<T>>>)

§

Project(Box<Project<T, T, Mono<T>>>)

§

Union(Box<Union<T, Mono<T>, Mono<T>>>)

§

Intersect(Box<Intersect<T, Mono<T>, Mono<T>>>)

§

Difference(Box<Difference<T, Mono<T>, Mono<T>>>)

§

Product(Box<Product<T, T, Mono<T>, Mono<T>, T>>)

§

Join(Box<Join<T, T, T, Mono<T>, Mono<T>, T>>)

§

View(Box<View<T, Mono<T>>>)

Implementations§

Source§

impl<T: Tuple + 'static> Mono<T>

Source

pub fn boxed(self) -> Box<Self>

Wraps the receiver in a Box.

Trait Implementations§

Source§

impl<T> Clone for Mono<T>
where T: Tuple + 'static + Clone,

Source§

fn clone(&self) -> Mono<T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T> Debug for Mono<T>
where T: Tuple + 'static + Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: Tuple + 'static> Expression<T> for Mono<T>

Source§

fn visit<V>(&self, visitor: &mut V)
where V: Visitor,

Visits this expression by a Visitor.
Source§

fn builder(&self) -> Builder<T, Self>

Returns an expression builder over this expression.
Source§

impl<T: Tuple> From<Difference<T, Mono<T>, Mono<T>>> for Mono<T>

Source§

fn from(difference: Difference<T, Mono<T>, Mono<T>>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Empty<T>> for Mono<T>

Source§

fn from(empty: Empty<T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Full<T>> for Mono<T>

Source§

fn from(full: Full<T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Intersect<T, Mono<T>, Mono<T>>> for Mono<T>

Source§

fn from(intersect: Intersect<T, Mono<T>, Mono<T>>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Join<T, T, T, Mono<T>, Mono<T>, T>> for Mono<T>

Source§

fn from(join: Join<T, T, T, Mono<T>, Mono<T>, T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Product<T, T, Mono<T>, Mono<T>, T>> for Mono<T>

Source§

fn from(product: Product<T, T, Mono<T>, Mono<T>, T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Project<T, T, Mono<T>>> for Mono<T>

Source§

fn from(project: Project<T, T, Mono<T>>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Relation<T>> for Mono<T>

Source§

fn from(relation: Relation<T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Select<T, Mono<T>>> for Mono<T>

Source§

fn from(select: Select<T, Mono<T>>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Singleton<T>> for Mono<T>

Source§

fn from(singleton: Singleton<T>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<Union<T, Mono<T>, Mono<T>>> for Mono<T>

Source§

fn from(union: Union<T, Mono<T>, Mono<T>>) -> Self

Converts to this type from the input type.
Source§

impl<T: Tuple> From<View<T, Mono<T>>> for Mono<T>

Source§

fn from(view: View<T, Mono<T>>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<T> Freeze for Mono<T>
where T: Freeze,

§

impl<T> !RefUnwindSafe for Mono<T>

§

impl<T> !Send for Mono<T>

§

impl<T> !Sync for Mono<T>

§

impl<T> Unpin for Mono<T>
where T: Unpin,

§

impl<T> !UnwindSafe for Mono<T>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, E> IntoExpression<T, E> for E
where T: Tuple, E: Expression<T>,

Source§

fn into_expression(self) -> E

Consumes the receiver and returns an expression.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.