skia_
safe
0.81.0
Image
Aliased type
Methods
height
href
preserve_aspect_ratio
set_height
set_href
set_preserve_aspect_ratio
set_width
set_x
set_y
width
x
y
Trait Implementations
DebugAttributes
Default
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Image
Copy item path
Source
pub type Image =
RCHandle
<SkSVGImage>;
Aliased Type
§
struct Image(
/* private fields */
);
Implementations
§
Source
§
impl
Image
Source
pub fn
x
(&self) -> &
Length
Source
pub fn
set_x
(&mut self, value:
Length
)
Source
pub fn
y
(&self) -> &
Length
Source
pub fn
set_y
(&mut self, value:
Length
)
Source
pub fn
width
(&self) -> &
Length
Source
pub fn
set_width
(&mut self, value:
Length
)
Source
pub fn
height
(&self) -> &
Length
Source
pub fn
set_height
(&mut self, value:
Length
)
Source
pub fn
href
(&self) -> &
Iri
Source
pub fn
set_href
(&mut self, value:
Iri
)
Source
pub fn
preserve_aspect_ratio
(&self) -> &
PreserveAspectRatio
Source
pub fn
set_preserve_aspect_ratio
(&mut self, value:
PreserveAspectRatio
)
Trait Implementations
§
Source
§
impl
DebugAttributes
for
Image
Source
§
const
NAME
: &'static
str
= "Image"
Source
§
fn
_dbg
(&self, builder: &mut
DebugStruct
<'_, '_>)
Source
§
impl
Default
for
Image
Source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more