[][src]Struct codd::expression::Full

pub struct Full<T> where
    T: Tuple
{ /* fields omitted */ }

Is a placeholder for a "full" instance, containing all tuples of its type.

Note: because Full expression cannot be described by a range-restricted (see chapter 2 of Foundations of Databases) query, any query containing Full as a subexpression cannot be evaluated in a database safely.

Example:

use codd::{Database, expression::Full};

let mut db = Database::new();
let full = Full::<i32>::new();

assert!(db.evaluate(&full).is_err()); // cannot be evaluated

Implementations

impl<T> Full<T> where
    T: Tuple
[src]

pub fn new() -> Self[src]

Creates a new instance of Full.

Trait Implementations

impl<T: Clone> Clone for Full<T> where
    T: Tuple
[src]

impl<T: Debug> Debug for Full<T> where
    T: Tuple
[src]

impl<T: Tuple> Default for Full<T>[src]

impl<T> Expression<T> for Full<T> where
    T: Tuple
[src]

impl<T: Tuple> From<Full<T>> for Mono<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Full<T> where
    T: RefUnwindSafe

impl<T> Send for Full<T> where
    T: Send

impl<T> Sync for Full<T> where
    T: Sync

impl<T> Unpin for Full<T> where
    T: Unpin

impl<T> UnwindSafe for Full<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.