pub struct TextCollapsingCreateInfo {
pub width: f64,
pub text_run_properties: Rc<dyn TextRunProperties>,
pub flow_direction: FlowDirection,
}Expand description
The values a TextTrimming creates
collapsing properties from.
Fields§
§width: f64§text_run_properties: Rc<dyn TextRunProperties>§flow_direction: FlowDirectionImplementations§
Source§impl TextCollapsingCreateInfo
impl TextCollapsingCreateInfo
pub fn new( width: f64, text_run_properties: Rc<dyn TextRunProperties>, flow_direction: FlowDirection, ) -> Self
Trait Implementations§
Source§impl Clone for TextCollapsingCreateInfo
impl Clone for TextCollapsingCreateInfo
Auto Trait Implementations§
impl !RefUnwindSafe for TextCollapsingCreateInfo
impl !Send for TextCollapsingCreateInfo
impl !Sync for TextCollapsingCreateInfo
impl !UnwindSafe for TextCollapsingCreateInfo
impl Freeze for TextCollapsingCreateInfo
impl Unpin for TextCollapsingCreateInfo
impl UnsafeUnpin for TextCollapsingCreateInfo
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more