#[repr(transparent)]pub struct Float64Seq<const N: usize>(pub SequenceRaw<Float64>);Expand description
Sequence of messages.
N is the maximum number of elements.
If N is 0, the size is unlimited.
Tuple Fields§
§0: SequenceRaw<Float64>Implementations§
Source§impl<const N: usize> Float64Seq<N>
impl<const N: usize> Float64Seq<N>
Source§impl<const N: usize> Float64Seq<N>
impl<const N: usize> Float64Seq<N>
Sourcepub fn new(size: usize) -> Option<Self>
pub fn new(size: usize) -> Option<Self>
Create a sequence with the given size, initialized with default values.
N represents the maximum number of elements.
If N is 0, the sequence is unlimited.
Methods from Deref<Target = SequenceRaw<Float64>>§
pub fn iter(&self) -> Iter<'_, T>
Sourcepub fn as_slice_mut(&mut self) -> &mut [T]
👎Deprecated: use as_mut_slice instead
pub fn as_slice_mut(&mut self) -> &mut [T]
use as_mut_slice instead
Get a mutable slice of the sequence data
Sourcepub fn as_mut_slice(&mut self) -> &mut [T]
pub fn as_mut_slice(&mut self) -> &mut [T]
Get a mutable slice of the sequence data
pub fn iter_mut(&mut self) -> IterMut<'_, T>
Trait Implementations§
Source§impl<const N: usize> Clone for Float64Seq<N>
impl<const N: usize> Clone for Float64Seq<N>
Source§impl<const N: usize> Debug for Float64Seq<N>
impl<const N: usize> Debug for Float64Seq<N>
Source§impl<const N: usize> Default for Float64Seq<N>
impl<const N: usize> Default for Float64Seq<N>
Source§impl<const N: usize> Deref for Float64Seq<N>
impl<const N: usize> Deref for Float64Seq<N>
Source§impl<const N: usize> DerefMut for Float64Seq<N>
impl<const N: usize> DerefMut for Float64Seq<N>
Source§impl<'de, const N: usize> Deserialize<'de> for Float64Seq<N>where
Float64: Deserialize<'de>,
impl<'de, const N: usize> Deserialize<'de> for Float64Seq<N>where
Float64: Deserialize<'de>,
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<const N: usize> PartialEq for Float64Seq<N>
impl<const N: usize> PartialEq for Float64Seq<N>
Source§impl<const N: usize> RosFieldType for Float64Seq<N>
RosFieldType for sequence types - enables using XxxSeq as fields in other messages.
N=0 means unbounded sequence, N>0 means bounded sequence with capacity N.
impl<const N: usize> RosFieldType for Float64Seq<N>
RosFieldType for sequence types - enables using XxxSeq
Source§fn ros_field_type() -> FieldType
fn ros_field_type() -> FieldType
Returns the FieldType for this type when used as a field.
Source§fn referenced_types() -> Vec<IndividualTypeDescription>
fn referenced_types() -> Vec<IndividualTypeDescription>
Returns referenced type descriptions (empty for primitives, populated for nested types).
Source§impl<const N: usize> Serialize for Float64Seq<N>
impl<const N: usize> Serialize for Float64Seq<N>
Source§impl<const N: usize> TryClone for Float64Seq<N>
impl<const N: usize> TryClone for Float64Seq<N>
Source§impl<const N: usize> TypeDescription for Float64Seq<N>
TypeDescription for sequence types delegates to the element type.
This enables proper type hash computation when XxxSeq is used in fields.
impl<const N: usize> TypeDescription for Float64Seq<N>
TypeDescription for sequence types delegates to the element type.
This enables proper type hash computation when XxxSeq
Source§fn type_description() -> TypeDescriptionMsg
fn type_description() -> TypeDescriptionMsg
Get the type description for this type Read more
Source§fn message_type_name() -> MessageTypeName
fn message_type_name() -> MessageTypeName
Get the message type name information Read more
impl<const N: usize> Send for Float64Seq<N>
impl<const N: usize> Sync for Float64Seq<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Float64Seq<N>
impl<const N: usize> RefUnwindSafe for Float64Seq<N>
impl<const N: usize> Unpin for Float64Seq<N>
impl<const N: usize> UnsafeUnpin for Float64Seq<N>
impl<const N: usize> UnwindSafe for Float64Seq<N>
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