pub struct WrappedType {
pub ty: GenericType,
pub ty_ret_tmp: Option<GenericType>,
pub ty_static: Option<GenericType>,
pub lifetime_bound: Option<Lifetime>,
pub lifetime_type_bound: Option<Lifetime>,
pub other_bounds: Option<TokenStream>,
pub other_bounds_simple: Option<TokenStream>,
pub return_conv: Option<ExprClosure>,
pub impl_return_conv: Option<TokenStream>,
pub inject_ret_tmp: bool,
pub unbounded_hrtb: bool,
}Fields§
§ty: GenericType§ty_ret_tmp: Option<GenericType>§ty_static: Option<GenericType>§lifetime_bound: Option<Lifetime>§lifetime_type_bound: Option<Lifetime>§other_bounds: Option<TokenStream>§other_bounds_simple: Option<TokenStream>§return_conv: Option<ExprClosure>§impl_return_conv: Option<TokenStream>§inject_ret_tmp: bool§unbounded_hrtb: boolAuto Trait Implementations§
impl Freeze for WrappedType
impl RefUnwindSafe for WrappedType
impl !Send for WrappedType
impl !Sync for WrappedType
impl Unpin for WrappedType
impl UnwindSafe for WrappedType
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> 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