ViewOperationBuilder

Struct ViewOperationBuilder 

Source
pub struct ViewOperationBuilder<'c, O0, O1, O2> { /* private fields */ }
Expand description

A builder for a view operation.

Implementations§

Source§

impl<'c> ViewOperationBuilder<'c, Unset, Unset, Unset>

Source

pub fn new(context: &'c Context, location: Location<'c>) -> Self

Source§

impl<'c, O1, O2> ViewOperationBuilder<'c, Unset, O1, O2>

Source

pub fn source( self, source: Value<'c, '_>, ) -> ViewOperationBuilder<'c, Set, O1, O2>

Source§

impl<'c, O2> ViewOperationBuilder<'c, Set, Unset, O2>

Source

pub fn byte_shift( self, byte_shift: Value<'c, '_>, ) -> ViewOperationBuilder<'c, Set, Set, O2>

Source§

impl<'c> ViewOperationBuilder<'c, Set, Set, Unset>

Source

pub fn sizes( self, sizes: &[Value<'c, '_>], ) -> ViewOperationBuilder<'c, Set, Set, Set>

Source§

impl<'c> ViewOperationBuilder<'c, Set, Set, Set>

Source

pub fn build(self) -> ViewOperation<'c>

Auto Trait Implementations§

§

impl<'c, O0, O1, O2> Freeze for ViewOperationBuilder<'c, O0, O1, O2>

§

impl<'c, O0, O1, O2> RefUnwindSafe for ViewOperationBuilder<'c, O0, O1, O2>

§

impl<'c, O0, O1, O2> !Send for ViewOperationBuilder<'c, O0, O1, O2>

§

impl<'c, O0, O1, O2> !Sync for ViewOperationBuilder<'c, O0, O1, O2>

§

impl<'c, O0, O1, O2> Unpin for ViewOperationBuilder<'c, O0, O1, O2>
where O0: Unpin, O1: Unpin, O2: Unpin,

§

impl<'c, O0, O1, O2> UnwindSafe for ViewOperationBuilder<'c, O0, O1, O2>
where O0: UnwindSafe, O1: UnwindSafe, O2: UnwindSafe,

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> 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, 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.