pub enum DescriptorText {
Description,
Constraints,
}Expand description
One of a descriptor’s two prose fields. Each has its own capacity and its own knob, and a truncation report names both.
Variants§
Description
description, sized by NROS_PARAMS_MAX_DESCRIPTION_BYTES.
Constraints
additional_constraints, sized by NROS_PARAMS_MAX_CONSTRAINTS_BYTES.
Implementations§
Trait Implementations§
Source§impl Clone for DescriptorText
impl Clone for DescriptorText
Source§fn clone(&self) -> DescriptorText
fn clone(&self) -> DescriptorText
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 moreimpl Copy for DescriptorText
Source§impl Debug for DescriptorText
impl Debug for DescriptorText
impl Eq for DescriptorText
Source§impl PartialEq for DescriptorText
impl PartialEq for DescriptorText
impl StructuralPartialEq for DescriptorText
Auto Trait Implementations§
impl Freeze for DescriptorText
impl RefUnwindSafe for DescriptorText
impl Send for DescriptorText
impl Sync for DescriptorText
impl Unpin for DescriptorText
impl UnsafeUnpin for DescriptorText
impl UnwindSafe for DescriptorText
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