Fields
info: ImageInfoname: Option<String>Implementations
sourceimpl Image
impl Image
pub fn create(
device: &Arc<Device>,
info: impl Into<ImageInfo>
) -> Result<Self, DriverError>
pub fn access(this: &Self, next_access: AccessType) -> AccessType
pub fn create_view(
this: &Self,
info: ImageViewInfo
) -> Result<ImageView, DriverError>
pub fn from_raw(device: &Arc<Device>, image: Image, info: ImageInfo) -> Self
pub fn view_ref(
this: &Self,
info: ImageViewInfo
) -> Result<ImageView, DriverError>
Trait Implementations
sourceimpl Bind<&mut RenderGraph, ImageNode> for Image
impl Bind<&mut RenderGraph, ImageNode> for Image
fn bind(self, graph: &mut RenderGraph) -> ImageNode
Auto Trait Implementations
impl !RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl !UnwindSafe for Image
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more