#[repr(C)]pub struct dds_sequence {
pub _maximum: u32,
pub _length: u32,
pub _buffer: *mut u8,
pub _release: bool,
}Expand description
@ingroup implementation @brief Datastructure of a Sequence type Container for a sequence of bytes. The general model of this type is also used in IDL output, where the uint8_t * _buffer is replaced by the appropriate subtype of what is contained.
Fields§
§_maximum: u32< Allocated space in _buffer
_length: u32< Used space in _buffer
_buffer: *mut u8< Sequence of bytes
_release: bool< Whether a CycloneDDS _free method should free the contained buffer. if you put in your own allocated _buffer set this to false to avoid CycloneDDS calling free() on it.
Trait Implementations§
Source§impl Clone for dds_sequence
impl Clone for dds_sequence
Source§fn clone(&self) -> dds_sequence
fn clone(&self) -> dds_sequence
Returns a duplicate 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 dds_sequence
impl Debug for dds_sequence
Source§impl Default for dds_sequence
impl Default for dds_sequence
impl Copy for dds_sequence
Auto Trait Implementations§
impl Freeze for dds_sequence
impl RefUnwindSafe for dds_sequence
impl !Send for dds_sequence
impl !Sync for dds_sequence
impl Unpin for dds_sequence
impl UnsafeUnpin for dds_sequence
impl UnwindSafe for dds_sequence
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