Struct rusteron_media_driver::AeronFrameHeader
source · pub struct AeronFrameHeader { /* private fields */ }
Implementations§
source§impl AeronFrameHeader
impl AeronFrameHeader
pub fn new( frame_length: i32, version: i8, flags: u8, type_: i16, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn frame_length(&self) -> i32
pub fn version(&self) -> i8
pub fn flags(&self) -> u8
pub fn type_(&self) -> i16
pub fn get_inner(&self) -> *mut aeron_frame_header_t
Trait Implementations§
source§impl Clone for AeronFrameHeader
impl Clone for AeronFrameHeader
source§fn clone(&self) -> AeronFrameHeader
fn clone(&self) -> AeronFrameHeader
Returns a copy of the value. Read more
1.0.0 · 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 AeronFrameHeader
impl Debug for AeronFrameHeader
source§impl Default for AeronFrameHeader
impl Default for AeronFrameHeader
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronFrameHeader
impl Deref for AeronFrameHeader
source§impl From<&AeronFrameHeader> for *mut aeron_frame_header_t
impl From<&AeronFrameHeader> for *mut aeron_frame_header_t
source§fn from(value: &AeronFrameHeader) -> Self
fn from(value: &AeronFrameHeader) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_frame_header_stct> for AeronFrameHeader
impl From<*const aeron_frame_header_stct> for AeronFrameHeader
source§fn from(value: *const aeron_frame_header_t) -> Self
fn from(value: *const aeron_frame_header_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_frame_header_stct> for AeronFrameHeader
impl From<*mut aeron_frame_header_stct> for AeronFrameHeader
source§fn from(value: *mut aeron_frame_header_t) -> Self
fn from(value: *mut aeron_frame_header_t) -> Self
Converts to this type from the input type.
source§impl From<AeronFrameHeader> for *mut aeron_frame_header_t
impl From<AeronFrameHeader> for *mut aeron_frame_header_t
source§fn from(value: AeronFrameHeader) -> Self
fn from(value: AeronFrameHeader) -> Self
Converts to this type from the input type.
source§impl From<AeronFrameHeader> for aeron_frame_header_t
impl From<AeronFrameHeader> for aeron_frame_header_t
source§fn from(value: AeronFrameHeader) -> Self
fn from(value: AeronFrameHeader) -> Self
Converts to this type from the input type.
source§impl From<aeron_frame_header_stct> for AeronFrameHeader
impl From<aeron_frame_header_stct> for AeronFrameHeader
source§fn from(value: aeron_frame_header_t) -> Self
fn from(value: aeron_frame_header_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronFrameHeader
impl !RefUnwindSafe for AeronFrameHeader
impl !Send for AeronFrameHeader
impl !Sync for AeronFrameHeader
impl Unpin for AeronFrameHeader
impl !UnwindSafe for AeronFrameHeader
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)