pub struct StringEncoding {
pub charset: Charset,
pub byte_order: ByteOrder,
pub raw_size: SizeSpec,
pub delimiter: StringDelimiter,
}Expand description
<xtce:StringDataEncoding>.
Fields§
§charset: CharsetCharacter set of the decoded text.
byte_order: ByteOrderByte order, relevant for UTF-16 and UTF-32.
raw_size: SizeSpecSize of the raw buffer, including any terminator or length prefix.
delimiter: StringDelimiterHow to find the string inside the raw buffer.
Trait Implementations§
Source§impl Clone for StringEncoding
impl Clone for StringEncoding
Auto Trait Implementations§
impl Forget for StringEncoding
impl Freeze for StringEncoding
impl Move for StringEncoding
impl RefUnwindSafe for StringEncoding
impl Send for StringEncoding
impl Sync for StringEncoding
impl Unpin for StringEncoding
impl UnsafeUnpin for StringEncoding
impl UnwindSafe for StringEncoding
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