skia_safe::svg

Type Alias Rect

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