pub enum ViewType {
Image(ImageViewInfo),
Buffer(Range<u64>),
}Variants
Image(ImageViewInfo)
Buffer(Range<u64>)
Trait Implementations
sourceimpl From<ImageViewInfo> for ViewType
impl From<ImageViewInfo> for ViewType
sourcefn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ViewType
impl Send for ViewType
impl Sync for ViewType
impl Unpin for ViewType
impl UnwindSafe for ViewType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more