Struct raui_core::widget::component::containers::content_box::ContentBoxProps [−][src]
Expand description
The properties of a content_box
component
Fields
clipping: bool
Expand description
Whether or not to clip the parts of items that overflow outside of the box bounds
transform: Transform
Expand description
The transform to apply to the box and it’s contents
Trait Implementations
impl Clone for ContentBoxProps
[src]
impl Clone for ContentBoxProps
[src]fn clone(&self) -> ContentBoxProps
[src]
fn clone(&self) -> ContentBoxProps
[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 ContentBoxProps
[src]
impl Debug for ContentBoxProps
[src]impl Default for ContentBoxProps
[src]
impl Default for ContentBoxProps
[src]fn default() -> ContentBoxProps
[src]
fn default() -> ContentBoxProps
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for ContentBoxProps
[src]
impl<'de> Deserialize<'de> for ContentBoxProps
[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 ContentBoxProps
[src]
impl Prefab for ContentBoxProps
[src]fn from_prefab(data: PrefabValue) -> Result<Self, PrefabError>
[src]
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>
[src]
impl PropsData for ContentBoxProps where
Self: Clone,
[src]
impl PropsData for ContentBoxProps where
Self: Clone,
[src]impl Serialize for ContentBoxProps
[src]
impl Serialize for ContentBoxProps
[src]Auto Trait Implementations
impl RefUnwindSafe for ContentBoxProps
impl Send for ContentBoxProps
impl Sync for ContentBoxProps
impl Unpin for ContentBoxProps
impl UnwindSafe for ContentBoxProps
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 = T
The 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>,