pub struct NativeFrame {
pub metadata: NativeFrameMetadata,
pub handle: usize,
/* private fields */
}Expand description
A native frame handle plus metadata.
Fields§
§metadata: NativeFrameMetadata§handle: usizeImplementations§
Source§impl NativeFrame
impl NativeFrame
pub fn new(metadata: NativeFrameMetadata, handle: usize) -> Self
Trait Implementations§
Source§impl Clone for NativeFrame
impl Clone for NativeFrame
Source§fn clone(&self) -> NativeFrame
fn clone(&self) -> NativeFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativeFrame
impl Debug for NativeFrame
impl Eq for NativeFrame
Source§impl From<DecoderNativeFrame> for NativeFrame
impl From<DecoderNativeFrame> for NativeFrame
Source§fn from(value: DecoderNativeFrame) -> Self
fn from(value: DecoderNativeFrame) -> Self
Converts to this type from the input type.
Source§impl From<NativeFrame> for DecoderNativeFrame
impl From<NativeFrame> for DecoderNativeFrame
Source§fn from(value: NativeFrame) -> Self
fn from(value: NativeFrame) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NativeFrame
impl PartialEq for NativeFrame
impl StructuralPartialEq for NativeFrame
Auto Trait Implementations§
impl Freeze for NativeFrame
impl RefUnwindSafe for NativeFrame
impl Send for NativeFrame
impl Sync for NativeFrame
impl Unpin for NativeFrame
impl UnsafeUnpin for NativeFrame
impl UnwindSafe for NativeFrame
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