pub struct MediaSizingTokens {
pub image_min_width: f32,
pub image_min_height: f32,
pub image_default_width: f32,
pub image_default_height: f32,
pub checkerboard_size: f32,
pub tweet_card_width: f32,
pub tweet_card_height: f32,
pub idea_card_width: f32,
pub idea_card_height: f32,
pub profile_radius: f32,
}Expand description
Media sizing defaults in egui logical points.
Fields§
§image_min_width: f32Image minimum width, in egui logical points.
image_min_height: f32Image minimum height, in egui logical points.
image_default_width: f32Image default width, in egui logical points.
image_default_height: f32Image default height, in egui logical points.
checkerboard_size: f32Checkerboard size, in egui logical points.
tweet_card_width: f32Tweet card width, in egui logical points.
tweet_card_height: f32Tweet card height, in egui logical points.
idea_card_width: f32Idea card width, in egui logical points.
idea_card_height: f32Idea card height, in egui logical points.
profile_radius: f32Profile radius, in egui logical points.
Trait Implementations§
Source§impl Clone for MediaSizingTokens
impl Clone for MediaSizingTokens
Source§fn clone(&self) -> MediaSizingTokens
fn clone(&self) -> MediaSizingTokens
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 Freeze for MediaSizingTokens
impl RefUnwindSafe for MediaSizingTokens
impl Send for MediaSizingTokens
impl Sync for MediaSizingTokens
impl Unpin for MediaSizingTokens
impl UnsafeUnpin for MediaSizingTokens
impl UnwindSafe for MediaSizingTokens
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more