pub struct CodeSetComponentInfo {
pub for_char_data: CodeSetComponent,
pub for_wchar_data: CodeSetComponent,
}Expand description
CONV_FRAME::CodeSetComponentInfo, the data of the
component_tag::CODE_SETS component.
Fields§
§for_char_data: CodeSetComponentCode sets for char and string.
for_wchar_data: CodeSetComponentCode sets for wchar and wstring.
Implementations§
Source§impl CodeSetComponentInfo
impl CodeSetComponentInfo
Sourcepub fn to_component(&self, order: ByteOrder) -> Result<TaggedComponent>
pub fn to_component(&self, order: ByteOrder) -> Result<TaggedComponent>
Wraps the info in a component_tag::CODE_SETS component.
Sourcepub fn from_component(
component: &TaggedComponent,
) -> Result<CodeSetComponentInfo>
pub fn from_component( component: &TaggedComponent, ) -> Result<CodeSetComponentInfo>
Reads the info from a component’s data.
Trait Implementations§
Source§impl Clone for CodeSetComponentInfo
impl Clone for CodeSetComponentInfo
Source§impl Debug for CodeSetComponentInfo
impl Debug for CodeSetComponentInfo
Source§impl Default for CodeSetComponentInfo
impl Default for CodeSetComponentInfo
impl Eq for CodeSetComponentInfo
Source§impl PartialEq for CodeSetComponentInfo
impl PartialEq for CodeSetComponentInfo
impl StructuralPartialEq for CodeSetComponentInfo
Auto Trait Implementations§
impl Freeze for CodeSetComponentInfo
impl RefUnwindSafe for CodeSetComponentInfo
impl Send for CodeSetComponentInfo
impl Sync for CodeSetComponentInfo
impl Unpin for CodeSetComponentInfo
impl UnsafeUnpin for CodeSetComponentInfo
impl UnwindSafe for CodeSetComponentInfo
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