#[repr(C)]pub struct WebHandle {
pub id: u32,
}Fields§
§id: u32An ID value inserted into the data attributes of the canvas element as ‘raw-handle’
When accessing from JS, the attribute will automatically be called rawHandle. Each canvas created by the windowing system should be assigned their own unique ID. 0 should be reserved for invalid / null IDs.
Trait Implementations§
Source§impl Ord for WebHandle
impl Ord for WebHandle
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WebHandle
impl PartialOrd for WebHandle
impl Copy for WebHandle
impl Eq for WebHandle
impl StructuralPartialEq for WebHandle
Auto Trait Implementations§
impl Freeze for WebHandle
impl RefUnwindSafe for WebHandle
impl Send for WebHandle
impl Sync for WebHandle
impl Unpin for WebHandle
impl UnsafeUnpin for WebHandle
impl UnwindSafe for WebHandle
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