pub enum CaptionPlacement {
Left,
Top,
Right,
Bottom,
Inline,
}Expand description
Caption placement relative to content.
Variants§
Left
Left placement.
Top
Top placement.
Right
Right placement.
Bottom
Bottom placement.
Inline
Inline placement.
Trait Implementations§
Source§impl Clone for CaptionPlacement
impl Clone for CaptionPlacement
Source§fn clone(&self) -> CaptionPlacement
fn clone(&self) -> CaptionPlacement
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 moreSource§impl Debug for CaptionPlacement
impl Debug for CaptionPlacement
Source§impl Default for CaptionPlacement
impl Default for CaptionPlacement
Source§fn default() -> CaptionPlacement
fn default() -> CaptionPlacement
Returns the “default value” for a type. Read more
Source§impl PartialEq for CaptionPlacement
impl PartialEq for CaptionPlacement
Source§fn eq(&self, other: &CaptionPlacement) -> bool
fn eq(&self, other: &CaptionPlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CaptionPlacement
impl Eq for CaptionPlacement
impl StructuralPartialEq for CaptionPlacement
Auto Trait Implementations§
impl Freeze for CaptionPlacement
impl RefUnwindSafe for CaptionPlacement
impl Send for CaptionPlacement
impl Sync for CaptionPlacement
impl Unpin for CaptionPlacement
impl UnsafeUnpin for CaptionPlacement
impl UnwindSafe for CaptionPlacement
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