Struct rutabaga_gfx::rutabaga_os::sys::linux::event::Event
source · pub struct Event {
descriptor: OwnedDescriptor,
}
Fields§
§descriptor: OwnedDescriptor
Implementations§
source§impl Event
impl Event
pub fn new() -> RutabagaResult<Event>
pub fn signal(&mut self) -> RutabagaResult<()>
pub fn wait(&self) -> RutabagaResult<()>
pub fn try_clone(&self) -> RutabagaResult<Event>
Trait Implementations§
source§impl AsBorrowedDescriptor for Event
impl AsBorrowedDescriptor for Event
fn as_borrowed_descriptor(&self) -> &OwnedDescriptor
source§impl From<Event> for RutabagaHandle
impl From<Event> for RutabagaHandle
source§impl TryFrom<RutabagaHandle> for Event
impl TryFrom<RutabagaHandle> for Event
§type Error = RutabagaError
type Error = RutabagaError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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