pub struct CacheImageWriteGuard { /* private fields */ }Expand description
画像キャッシュデータの書き込みガード。
Implementations§
Source§impl CacheImageWriteGuard
impl CacheImageWriteGuard
Sourcepub fn as_slice_mut(&mut self) -> &mut [RgbaPixel]
pub fn as_slice_mut(&mut self) -> &mut [RgbaPixel]
RGBAピクセル列として可変取得する。
Sourcepub fn as_mut_ptr(&mut self) -> *mut RgbaPixel
pub fn as_mut_ptr(&mut self) -> *mut RgbaPixel
RGBAピクセル列への可変ポインタを取得する。
Sourcepub fn as_u8_slice(&self) -> &[u8] ⓘ
pub fn as_u8_slice(&self) -> &[u8] ⓘ
u8スライスとして取得する。
Sourcepub fn as_u8_slice_mut(&mut self) -> &mut [u8] ⓘ
pub fn as_u8_slice_mut(&mut self) -> &mut [u8] ⓘ
u8スライスとして可変取得する。
Sourcepub fn as_mut_u8_ptr(&mut self) -> *mut u8
pub fn as_mut_u8_ptr(&mut self) -> *mut u8
RGBAピクセル列への可変ポインタを取得する。
Trait Implementations§
impl Send for CacheImageWriteGuard
Auto Trait Implementations§
impl !Sync for CacheImageWriteGuard
impl Freeze for CacheImageWriteGuard
impl RefUnwindSafe for CacheImageWriteGuard
impl Unpin for CacheImageWriteGuard
impl UnsafeUnpin for CacheImageWriteGuard
impl UnwindSafe for CacheImageWriteGuard
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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