pub struct CppSource {
pub text: String,
pub other: Option<(&'static str, Encoding)>,
}Expand description
A C++ header that reads both XCDR versions.
Fields§
§text: StringThe header.
other: Option<(&'static str, Encoding)>The nested namespace the other version’s codec stands in, and that
version — None when the model has no codec under it, in which
case the header reads the one version key names.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CppSource
impl RefUnwindSafe for CppSource
impl Send for CppSource
impl Sync for CppSource
impl Unpin for CppSource
impl UnsafeUnpin for CppSource
impl UnwindSafe for CppSource
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