pub struct ParamCStrings {
pub name: CString,
pub short_name: CString,
pub unit: CString,
pub group: CString,
}Expand description
CStrings derived from a single ParamInfo. All four conversions
follow the same pattern (unwrap_or_default() so a \0 in metadata
degrades to an empty C string instead of panicking the host); pulling
them into one struct keeps the per-format vtable loops uniform.
Fields§
§name: CString§short_name: CString§unit: CString§group: CStringImplementations§
Auto Trait Implementations§
impl Freeze for ParamCStrings
impl RefUnwindSafe for ParamCStrings
impl Send for ParamCStrings
impl Sync for ParamCStrings
impl Unpin for ParamCStrings
impl UnsafeUnpin for ParamCStrings
impl UnwindSafe for ParamCStrings
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