Struct fuchsia_scenic::Session
source · pub struct Session { /* private fields */ }
Implementations§
source§impl Session
impl Session
pub fn new(session: SessionProxy) -> SessionPtr
pub fn enqueue(&mut self, command: Command)
pub fn flush(&mut self)
pub fn present( &mut self, presentation_time: u64 ) -> QueryResponseFut<PresentationInfo>
pub fn present2( &mut self, requested_prediction_span: i64, requested_presentation_time: i64 ) -> QueryResponseFut<FuturePresentationTimes>
pub fn take_event_stream(&self) -> SessionEventStream
pub fn next_resource_id(&self) -> u32
pub fn add_acquire_fence(&mut self, fence: Event)
pub fn add_release_fence(&mut self, fence: Event)
pub fn register_buffer_collection( &self, buffer_id: u32, token: ClientEnd<BufferCollectionTokenMarker> ) -> Result<(), Error>
pub fn deregister_buffer_collection(&self, buffer_id: u32) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl !UnwindSafe for Session
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