pub struct GenericStaticBitmapBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> GenericStaticBitmapBuilder<'a>
impl<'a> GenericStaticBitmapBuilder<'a>
pub fn new(parent: &'a dyn WxWidget) -> Self
Sourcepub fn with_style(self, style: GenericStaticBitmapStyle) -> Self
pub fn with_style(self, style: GenericStaticBitmapStyle) -> Self
Sets the window style flags.
Sourcepub fn with_bitmap(self, bitmap: Option<Bitmap>) -> Self
pub fn with_bitmap(self, bitmap: Option<Bitmap>) -> Self
Sets the $field_name.
Sourcepub fn with_bitmap_bundle(self, bitmap_bundle: Option<BitmapBundle>) -> Self
pub fn with_bitmap_bundle(self, bitmap_bundle: Option<BitmapBundle>) -> Self
Sets the $field_name.
Sourcepub fn with_scale_mode(self, scale_mode: Option<ScaleMode>) -> Self
pub fn with_scale_mode(self, scale_mode: Option<ScaleMode>) -> Self
Sets the $field_name.
Sourcepub fn build(self) -> GenericStaticBitmap
pub fn build(self) -> GenericStaticBitmap
Builds the widget.
Trait Implementations§
Source§impl<'a> Clone for GenericStaticBitmapBuilder<'a>
impl<'a> Clone for GenericStaticBitmapBuilder<'a>
Source§fn clone(&self) -> GenericStaticBitmapBuilder<'a>
fn clone(&self) -> GenericStaticBitmapBuilder<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> !RefUnwindSafe for GenericStaticBitmapBuilder<'a>
impl<'a> !Send for GenericStaticBitmapBuilder<'a>
impl<'a> !Sync for GenericStaticBitmapBuilder<'a>
impl<'a> !UnwindSafe for GenericStaticBitmapBuilder<'a>
impl<'a> Freeze for GenericStaticBitmapBuilder<'a>
impl<'a> Unpin for GenericStaticBitmapBuilder<'a>
impl<'a> UnsafeUnpin for GenericStaticBitmapBuilder<'a>
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