skia_
safe
0.81.0
Rect
Aliased type
Methods
height
rx
ry
set_height
set_rx
set_ry
set_width
set_x
set_y
width
x
y
Trait Implementations
DebugAttributes
Default
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Rect
Copy item path
Source
pub type Rect =
RCHandle
<SkSVGRect>;
Aliased Type
§
struct Rect(
/* private fields */
);
Implementations
§
Source
§
impl
Rect
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
rx
(&self) ->
Option
<&
Length
>
Source
pub fn
set_rx
(&mut self, value:
Length
)
Source
pub fn
ry
(&self) ->
Option
<&
Length
>
Source
pub fn
set_ry
(&mut self, value:
Length
)
Trait Implementations
§
Source
§
impl
DebugAttributes
for
Rect
Source
§
const
NAME
: &'static
str
= "Rect"
Source
§
fn
_dbg
(&self, builder: &mut
DebugStruct
<'_, '_>)
Source
§
impl
Default
for
Rect
Source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more