Struct ExAddImage
pub struct ExAddImage<'ex> { /* private fields */ }Expand description
Default-param extender for RichTextLabel::add_image_ex.
Implementations§
§impl<'ex> ExAddImage<'ex>
impl<'ex> ExAddImage<'ex>
pub fn width(self, width: i32) -> ExAddImage<'ex>
pub fn height(self, height: i32) -> ExAddImage<'ex>
pub fn color(self, color: Color) -> ExAddImage<'ex>
pub fn inline_align(self, inline_align: InlineAlignment) -> ExAddImage<'ex>
pub fn region(self, region: Rect2) -> ExAddImage<'ex>
pub fn key(self, key: &'ex Variant) -> ExAddImage<'ex>
pub fn pad(self, pad: bool) -> ExAddImage<'ex>
pub fn tooltip(self, tooltip: impl AsArg<GString> + 'ex) -> ExAddImage<'ex>
pub fn width_in_percent(self, width_in_percent: bool) -> ExAddImage<'ex>
pub fn height_in_percent(self, height_in_percent: bool) -> ExAddImage<'ex>
pub fn alt_text(self, alt_text: impl AsArg<GString> + 'ex) -> ExAddImage<'ex>
pub fn done(self)
Auto Trait Implementations§
impl<'ex> Freeze for ExAddImage<'ex>
impl<'ex> RefUnwindSafe for ExAddImage<'ex>
impl<'ex> !Send for ExAddImage<'ex>
impl<'ex> !Sync for ExAddImage<'ex>
impl<'ex> Unpin for ExAddImage<'ex>
impl<'ex> !UnwindSafe for ExAddImage<'ex>
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