Struct iced_graphics::text::Raw
source · pub struct Raw {
pub buffer: Weak<Buffer>,
pub position: Point,
pub color: Color,
pub clip_bounds: Rectangle,
}
Expand description
A weak reference to a [cosmic-text::Buffer
] that can be drawn.
Fields§
§buffer: Weak<Buffer>
A weak reference to a cosmic_text::Buffer
.
position: Point
The position of the text.
color: Color
The color of the text.
clip_bounds: Rectangle
The clip bounds of the text.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
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