Struct Layout
pub struct Layout {Show 28 fields
pub resize_grip: f32,
pub window_grip: f32,
pub window_touch_grip: f32,
pub jump_px_per_detent: f32,
pub pin: f32,
pub avatar_step: f32,
pub avatar: f32,
pub compact_avatar_step: f32,
pub row_header: f32,
pub team_row: f32,
pub section_height: f32,
pub divider_height: f32,
pub strip_card_width: f32,
pub pairing_sheet_height: f32,
pub pairing_qr_side: f32,
pub display_brightness_step: f32,
pub wheel_step: f32,
pub bar_reach: f32,
pub desk_grip: f32,
pub desk_art: f32,
pub desk_badge: f32,
pub identify_name_width: f32,
pub search_card_width: f32,
pub sheet_title_band: f32,
pub sheet_detail_line: f32,
pub sheet_footer: f32,
pub field_label_height: f32,
pub field_prose_height: f32,
}Expand description
Reference geometry (unscaled) for the shell’s hand-composed chrome.
Fields§
§resize_grip: f32How far from an edge a pointer can grab to resize it: a timeline event’s, or the free side of a desk card.
window_grip: f32How far from a floating window’s edge a pointer can grab to resize it.
window_touch_grip: f32The same band under touch: wider, because a finger covers more than a pointer.
jump_px_per_detent: f32§pin: f32A pinned participant’s face on the desk.
avatar_step: f32Between two pinned participant faces.
avatar: f32A compact avatar in the strip switcher or a pairing sheet.
compact_avatar_step: f32Between two compact avatars.
row_header: f32One header row above a desk card’s list.
team_row: f32One row of the desk’s team list.
section_height: f32A compact section row in the strip switcher.
divider_height: f32The rule between two strip switcher sections.
strip_card_width: f32A strip switcher card.
pairing_sheet_height: f32§pairing_qr_side: f32§display_brightness_step: f32§wheel_step: f32One line-stepping wheel notch.
bar_reach: f32How far below a bar its own drawing reaches: the focus ring, the hairline and the shadow of what floats on it.
desk_grip: f32The resize handle in a desk card’s free corner.
desk_art: f32The compact music card’s artwork.
desk_badge: f32The remove badge on a hovered desk glance.
identify_name_width: f32The widest an identify card’s name runs before it is elided.
search_card_width: f32The desktop’s search card at its widest: the launcher’s card when no host gives it a room.
sheet_title_band: f32Above a confirmation sheet’s detail: the title and who asks.
sheet_detail_line: f32One line of a confirmation sheet’s detail, before it is measured.
Below a confirmation sheet’s answers: the line a refusal fills, and the buttons under it.
field_label_height: f32A field’s label line above its control, on a confirmation sheet.
field_prose_height: f32A prose field’s control: room for about three lines.
Implementations§
Trait Implementations§
impl Copy for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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