pub struct StyleContextBuilder { /* private fields */ }
Implementations§
Source§impl StyleContextBuilder
impl StyleContextBuilder
pub fn new() -> Self
pub fn build(self) -> StyleContext
pub fn direction(self, direction: TextDirection) -> Self
pub fn paint_clock(self, paint_clock: &FrameClock) -> Self
pub fn parent(self, parent: &StyleContext) -> Self
pub fn screen(self, screen: &Screen) -> Self
Auto Trait Implementations§
impl Freeze for StyleContextBuilder
impl RefUnwindSafe for StyleContextBuilder
impl !Send for StyleContextBuilder
impl !Sync for StyleContextBuilder
impl Unpin for StyleContextBuilder
impl UnwindSafe for StyleContextBuilder
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