pub struct Content {
pub id: ContentId,
/* private fields */
}
Expand description
Wrapper around a content ID that provides automatic release of image by implementing the Drop trait and calling release_image.
Fields§
§id: ContentId
The Flatland content ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Content
impl !RefUnwindSafe for Content
impl !Send for Content
impl !Sync for Content
impl Unpin for Content
impl !UnwindSafe for Content
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