skia_
safe
0.81.0
Pixel
Ref
Aliased type
Methods
dimensions
generation_id
height
is_immutable
notify_added_to_cache
notify_pixels_changed
pixels
row_bytes
set_immutable
width
Trait Implementations
Debug
Send
Sync
In crate skia_
safe
skia_safe
Type Alias
PixelRef
Copy item path
Source
pub type PixelRef =
RCHandle
<SkPixelRef>;
Aliased Type
§
struct PixelRef(
/* private fields */
);
Implementations
§
Source
§
impl
PixelRef
Source
pub fn
dimensions
(&self) ->
ISize
Source
pub fn
width
(&self) ->
i32
Source
pub fn
height
(&self) ->
i32
Source
pub unsafe fn
pixels
(&self) ->
*mut
c_void
Source
pub fn
row_bytes
(&self) ->
usize
Source
pub fn
generation_id
(&self) ->
u32
Source
pub fn
notify_pixels_changed
(&mut self)
Source
pub fn
is_immutable
(&self) ->
bool
Source
pub fn
set_immutable
(&mut self)
Source
pub fn
notify_added_to_cache
(&mut self)
Trait Implementations
§
Source
§
impl
Debug
for
PixelRef
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Send
for
PixelRef
Source
§
impl
Sync
for
PixelRef