pub struct ShapeCache { /* private fields */ }Implementations§
Source§impl ShapeCache
impl ShapeCache
pub fn new() -> Self
pub fn alloc_id(&self) -> ShapeId
pub fn root_shape(&self) -> NonNull<Shape>
pub fn transition( &mut self, parent: NonNull<Shape>, property: Atom, ) -> NonNull<Shape>
pub fn create_shape_for_properties( &mut self, properties: &[Atom], ) -> NonNull<Shape>
Trait Implementations§
Source§impl Default for ShapeCache
impl Default for ShapeCache
Source§impl Drop for ShapeCache
impl Drop for ShapeCache
Auto Trait Implementations§
impl !Freeze for ShapeCache
impl !RefUnwindSafe for ShapeCache
impl !Send for ShapeCache
impl !Sync for ShapeCache
impl Unpin for ShapeCache
impl UnsafeUnpin for ShapeCache
impl !UnwindSafe for ShapeCache
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