pub trait RectangleExt: 'static {
// Required methods
fn get_property_border_color(&self) -> Option<Color>;
fn set_property_border_color(&self, border_color: Option<&Color>);
fn get_property_border_width(&self) -> u32;
fn set_property_border_width(&self, border_width: u32);
fn get_property_color(&self) -> Option<Color>;
fn set_property_color(&self, color: Option<&Color>);
fn get_property_has_border(&self) -> bool;
fn set_property_has_border(&self, has_border: bool);
fn connect_property_border_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_border_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_has_border_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
Sourcefn get_property_border_color(&self) -> Option<Color>
fn get_property_border_color(&self) -> Option<Color>
The color of the border of the rectangle.
Sourcefn set_property_border_color(&self, border_color: Option<&Color>)
fn set_property_border_color(&self, border_color: Option<&Color>)
The color of the border of the rectangle.
Sourcefn get_property_border_width(&self) -> u32
fn get_property_border_width(&self) -> u32
The width of the border of the rectangle, in pixels.
Sourcefn set_property_border_width(&self, border_width: u32)
fn set_property_border_width(&self, border_width: u32)
The width of the border of the rectangle, in pixels.
Sourcefn get_property_color(&self) -> Option<Color>
fn get_property_color(&self) -> Option<Color>
The color of the rectangle.
Sourcefn set_property_color(&self, color: Option<&Color>)
fn set_property_color(&self, color: Option<&Color>)
The color of the rectangle.
Sourcefn get_property_has_border(&self) -> bool
fn get_property_has_border(&self) -> bool
Whether the Rectangle
should be displayed with a border.
Sourcefn set_property_has_border(&self, has_border: bool)
fn set_property_has_border(&self, has_border: bool)
Whether the Rectangle
should be displayed with a border.
fn connect_property_border_color_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_border_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_color_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_has_border_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.