Struct raui_core::widget::unit::grid::GridBoxItemLayout [−][src]
pub struct GridBoxItemLayout {
pub space_occupancy: IntRect,
pub margin: Rect,
pub horizontal_align: Scalar,
pub vertical_align: Scalar,
}Fields
space_occupancy: IntRectmargin: Recthorizontal_align: Scalarvertical_align: ScalarTrait Implementations
impl Clone for GridBoxItemLayout[src]
impl Clone for GridBoxItemLayout[src]fn clone(&self) -> GridBoxItemLayout[src]
fn clone(&self) -> GridBoxItemLayout[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for GridBoxItemLayout[src]
impl Debug for GridBoxItemLayout[src]impl Default for GridBoxItemLayout[src]
impl Default for GridBoxItemLayout[src]fn default() -> GridBoxItemLayout[src]
fn default() -> GridBoxItemLayout[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for GridBoxItemLayout[src]
impl<'de> Deserialize<'de> for GridBoxItemLayout[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Prefab for GridBoxItemLayout[src]
impl Prefab for GridBoxItemLayout[src]fn from_prefab(data: PrefabValue) -> Result<Self, PrefabError>[src]
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>[src]
impl PropsData for GridBoxItemLayout where
Self: Clone, [src]
impl PropsData for GridBoxItemLayout where
Self: Clone, [src]impl Serialize for GridBoxItemLayout[src]
impl Serialize for GridBoxItemLayout[src]Auto Trait Implementations
impl RefUnwindSafe for GridBoxItemLayout
impl Send for GridBoxItemLayout
impl Sync for GridBoxItemLayout
impl Unpin for GridBoxItemLayout
impl UnwindSafe for GridBoxItemLayout
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,