Struct i_slint_compiler::layout::LayoutRect
source · pub struct LayoutRect {
pub width_reference: Option<NamedReference>,
pub height_reference: Option<NamedReference>,
pub x_reference: Option<NamedReference>,
pub y_reference: Option<NamedReference>,
}
Fields§
§width_reference: Option<NamedReference>
§height_reference: Option<NamedReference>
§x_reference: Option<NamedReference>
§y_reference: Option<NamedReference>
Implementations§
source§impl LayoutRect
impl LayoutRect
pub fn install_on_element(element: &ElementRc) -> Self
pub fn size_reference(&self, orientation: Orientation) -> Option<&NamedReference>
Trait Implementations§
source§impl Clone for LayoutRect
impl Clone for LayoutRect
source§fn clone(&self) -> LayoutRect
fn clone(&self) -> LayoutRect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LayoutRect
impl Debug for LayoutRect
source§impl Default for LayoutRect
impl Default for LayoutRect
source§fn default() -> LayoutRect
fn default() -> LayoutRect
Returns the “default value” for a type. Read more