Struct spirv_std::image::sample_with::SomeTy
source · pub struct SomeTy<T>(pub T);
Expand description
Helper struct that denotes that the type does exist and is of type T, analog to Option::Some(T)
Tuple Fields§
§0: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SomeTy<T>where
T: Freeze,
impl<T> RefUnwindSafe for SomeTy<T>where
T: RefUnwindSafe,
impl<T> Send for SomeTy<T>where
T: Send,
impl<T> Sync for SomeTy<T>where
T: Sync,
impl<T> Unpin for SomeTy<T>where
T: Unpin,
impl<T> UnwindSafe for SomeTy<T>where
T: 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