pub struct LayoutCtx { /* private fields */ }
Expand description
The context given to layout methods.
Implementations
sourceimpl LayoutCtx
impl LayoutCtx
pub fn dwrite_factory(&self) -> &Factory
pub fn position_child(&mut self, child: Id, pos: (f32, f32))
pub fn get_child_size(&self, child: Id) -> (f32, f32)
Auto Trait Implementations
impl !RefUnwindSafe for LayoutCtx
impl !Send for LayoutCtx
impl !Sync for LayoutCtx
impl Unpin for LayoutCtx
impl !UnwindSafe for LayoutCtx
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more