[−][src]Struct pushrod::render::layout_cache::LayoutContainer
This is a container object that stores a Layout
object, and its ID.
Fields
layout: RefCell<Box<dyn Layout>>
Methods
impl LayoutContainer
[src]
This is an implementation that allows for creation of a LayoutContainer
.
pub fn new(layout: Box<dyn Layout>, layout_id: i32) -> Self
[src]
Creates a new LayoutContainer
-wrapped Layout
object.
pub fn get_layout_id(&self) -> i32
[src]
Retrieves the current layout ID.
Auto Trait Implementations
impl !RefUnwindSafe for LayoutContainer
impl !Send for LayoutContainer
impl !Sync for LayoutContainer
impl Unpin for LayoutContainer
impl !UnwindSafe for LayoutContainer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,