pub struct ImageBoxNode {
    pub id: WidgetId,
    pub props: Props,
    pub width: ImageBoxSizeValue,
    pub height: ImageBoxSizeValue,
    pub content_keep_aspect_ratio: Option<ImageBoxAspectRatio>,
    pub material: ImageBoxMaterial,
    pub transform: Transform,
}Fields§
§id: WidgetId§props: Props§width: ImageBoxSizeValue§height: ImageBoxSizeValue§content_keep_aspect_ratio: Option<ImageBoxAspectRatio>§material: ImageBoxMaterial§transform: TransformImplementations§
source§impl ImageBoxNode
 
impl ImageBoxNode
pub fn remap_props<F>(&mut self, f: F)where F: FnMut(Props) -> Props,
Trait Implementations§
source§impl Clone for ImageBoxNode
 
impl Clone for ImageBoxNode
source§fn clone(&self) -> ImageBoxNode
 
fn clone(&self) -> ImageBoxNode
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 ImageBoxNode
 
impl Debug for ImageBoxNode
source§impl Default for ImageBoxNode
 
impl Default for ImageBoxNode
source§fn default() -> ImageBoxNode
 
fn default() -> ImageBoxNode
Returns the “default value” for a type. Read more
source§impl From<ImageBoxNode> for WidgetNode
 
impl From<ImageBoxNode> for WidgetNode
source§fn from(data: ImageBoxNode) -> Self
 
fn from(data: ImageBoxNode) -> Self
Converts to this type from the input type.
source§impl From<ImageBoxNode> for WidgetUnitNode
 
impl From<ImageBoxNode> for WidgetUnitNode
source§fn from(unit: ImageBoxNode) -> Self
 
fn from(unit: ImageBoxNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ImageBoxNode
impl Send for ImageBoxNode
impl Sync for ImageBoxNode
impl Unpin for ImageBoxNode
impl !UnwindSafe for ImageBoxNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more