Struct fuchsia_framebuffer::FrameSet
source · pub struct FrameSet {
pub prepared: Option<ImageId>,
/* private fields */
}
Fields§
§prepared: Option<ImageId>
Implementations§
source§impl FrameSet
impl FrameSet
pub fn new( collection_id: BufferCollectionId, available: BTreeSet<ImageId>, ) -> FrameSet
pub fn mark_presented(&mut self, image_id: ImageId)
pub fn mark_done_presenting(&mut self, image_id: ImageId)
pub fn mark_prepared(&mut self, image_id: ImageId)
pub fn get_available_image(&mut self) -> Option<ImageId>
pub fn return_image(&mut self, image_id: ImageId)
pub fn no_images_in_use(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameSet
impl RefUnwindSafe for FrameSet
impl Send for FrameSet
impl Sync for FrameSet
impl Unpin for FrameSet
impl UnwindSafe for FrameSet
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