Struct raui_core::widget::unit::image::ImageBoxNode [−][src]
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: WidgetIdprops: Propswidth: ImageBoxSizeValueheight: ImageBoxSizeValuecontent_keep_aspect_ratio: Option<ImageBoxAspectRatio>material: ImageBoxMaterialtransform: TransformImplementations
impl ImageBoxNode[src]
impl ImageBoxNode[src]pub fn remap_props<F>(&mut self, f: F) where
F: FnMut(Props) -> Props, [src]
F: FnMut(Props) -> Props,
Trait Implementations
impl Clone for ImageBoxNode[src]
impl Clone for ImageBoxNode[src]fn clone(&self) -> ImageBoxNode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for ImageBoxNode[src]
impl Default for ImageBoxNode[src]fn default() -> ImageBoxNode[src]
impl From<ImageBoxNode> for WidgetNode[src]
impl From<ImageBoxNode> for WidgetNode[src]fn from(data: ImageBoxNode) -> Self[src]
impl From<ImageBoxNode> for WidgetUnitNode[src]
impl From<ImageBoxNode> for WidgetUnitNode[src]fn from(unit: ImageBoxNode) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for ImageBoxNode
impl !RefUnwindSafe for ImageBoxNodeimpl Send for ImageBoxNode
impl Send for ImageBoxNodeimpl Sync for ImageBoxNode
impl Sync for ImageBoxNodeimpl Unpin for ImageBoxNode
impl Unpin for ImageBoxNodeimpl !UnwindSafe for ImageBoxNode
impl !UnwindSafe for ImageBoxNode