pub struct TextLayoutRegistry { /* private fields */ }Implementations§
Source§impl TextLayoutRegistry
impl TextLayoutRegistry
pub fn get(&self, handle: TextLayoutHandle) -> Option<&TextLayout>
pub fn contains(&self, handle: TextLayoutHandle) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> impl Iterator<Item = (TextLayoutHandle, &TextLayout)>
Trait Implementations§
Source§impl Clone for TextLayoutRegistry
impl Clone for TextLayoutRegistry
Source§impl Debug for TextLayoutRegistry
impl Debug for TextLayoutRegistry
Source§impl Default for TextLayoutRegistry
impl Default for TextLayoutRegistry
Source§impl PartialEq for TextLayoutRegistry
impl PartialEq for TextLayoutRegistry
impl StructuralPartialEq for TextLayoutRegistry
Auto Trait Implementations§
impl Forget for TextLayoutRegistry
impl Freeze for TextLayoutRegistry
impl Move for TextLayoutRegistry
impl RefUnwindSafe for TextLayoutRegistry
impl Send for TextLayoutRegistry
impl Sync for TextLayoutRegistry
impl Unpin for TextLayoutRegistry
impl UnsafeUnpin for TextLayoutRegistry
impl UnwindSafe for TextLayoutRegistry
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