Implement is_layout_initialized for ImmutableImage (#1833)

This commit is contained in:
Roy Wellington Ⅳ 2022-03-11 10:58:32 -05:00 committed by GitHub
parent b03c204aeb
commit 7442a6f6c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -411,6 +411,11 @@ where
}
}
#[inline]
fn is_layout_initialized(&self) -> bool {
true
}
#[inline]
fn initial_layout_requirement(&self) -> ImageLayout {
self.layout