Struct egui::widget_text::WidgetTextJob
source · pub struct WidgetTextJob {
pub job: LayoutJob,
pub job_has_color: bool,
}
Fields§
§job: LayoutJob
§job_has_color: bool
Implementations§
source§impl WidgetTextJob
impl WidgetTextJob
pub fn into_galley(self, fonts: &Fonts) -> WidgetTextGalley
Trait Implementations§
source§impl Clone for WidgetTextJob
impl Clone for WidgetTextJob
source§fn clone(&self) -> WidgetTextJob
fn clone(&self) -> WidgetTextJob
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for WidgetTextJob
impl PartialEq for WidgetTextJob
source§fn eq(&self, other: &WidgetTextJob) -> bool
fn eq(&self, other: &WidgetTextJob) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WidgetTextJob
Auto Trait Implementations§
impl RefUnwindSafe for WidgetTextJob
impl Send for WidgetTextJob
impl Sync for WidgetTextJob
impl Unpin for WidgetTextJob
impl UnwindSafe for WidgetTextJob
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