pub struct ContactSheetConfig {
pub cell_size: u32,
pub columns: Option<u32>,
pub padding: u32,
pub show_names: bool,
pub show_sizes: bool,
pub gap: u32,
pub background: SheetBackground,
}Fields§
§cell_size: u32§columns: Option<u32>§padding: u32§show_names: bool§show_sizes: boolDraws a size line under each thumbnail. The measurement is the tight
bounds of ink greater than zero in the stored tip ({w}×{h}),
not the canvas size — a padded square canvas still reports its content
rectangle. An all-zero tip reads Empty.
gap: u32§background: SheetBackgroundTrait Implementations§
Auto Trait Implementations§
impl Freeze for ContactSheetConfig
impl RefUnwindSafe for ContactSheetConfig
impl Send for ContactSheetConfig
impl Sync for ContactSheetConfig
impl Unpin for ContactSheetConfig
impl UnsafeUnpin for ContactSheetConfig
impl UnwindSafe for ContactSheetConfig
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