pub struct Caption {
pub placement: CaptionPlacement,
pub reserve: Option<f64>,
pub text: String,
}Expand description
A caption for a form field.
Fields§
§placement: CaptionPlacementCaption placement.
reserve: Option<f64>Reserved space for the caption (None = auto).
text: StringCaption text.
Trait Implementations§
impl StructuralPartialEq for Caption
Auto Trait Implementations§
impl Freeze for Caption
impl RefUnwindSafe for Caption
impl Send for Caption
impl Sync for Caption
impl Unpin for Caption
impl UnsafeUnpin for Caption
impl UnwindSafe for Caption
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