pub struct TypeOperationBuilder<'c, T0> { /* private fields */ }
Expand description
A builder for a type
operation.
Implementations§
source§impl<'c> TypeOperationBuilder<'c, Unset>
impl<'c> TypeOperationBuilder<'c, Unset>
source§impl<'c> TypeOperationBuilder<'c, Unset>
impl<'c> TypeOperationBuilder<'c, Unset>
pub fn result(self, result: Type<'c>) -> TypeOperationBuilder<'c, Set>
source§impl<'c, T0> TypeOperationBuilder<'c, T0>
impl<'c, T0> TypeOperationBuilder<'c, T0>
pub fn constant_type( self, constant_type: TypeAttribute<'c> ) -> TypeOperationBuilder<'c, T0>
source§impl<'c> TypeOperationBuilder<'c, Set>
impl<'c> TypeOperationBuilder<'c, Set>
pub fn build(self) -> TypeOperation<'c>
Auto Trait Implementations§
impl<'c, T0> RefUnwindSafe for TypeOperationBuilder<'c, T0>where
T0: RefUnwindSafe,
impl<'c, T0> !Send for TypeOperationBuilder<'c, T0>
impl<'c, T0> !Sync for TypeOperationBuilder<'c, T0>
impl<'c, T0> Unpin for TypeOperationBuilder<'c, T0>where
T0: Unpin,
impl<'c, T0> UnwindSafe for TypeOperationBuilder<'c, T0>where
T0: UnwindSafe,
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