#[repr(u8)]pub enum CharacterSet {
Utf8 = 0,
IbmMicrosoftDbcs = 1,
JisX0208 = 2,
Ucs4 = 3,
Ucs2 = 4,
Iso8859_1 = 5,
}Expand description
A character set the PICS can claim under Annex A “Character Sets Supported”.
The variants are exactly the six sets Annex A offers. Each discriminant is the
set’s code from Clause 20.2.9, the initial octet of an encoded CharacterString.
Display prints the set’s Annex A label. Claiming several sets does not mean
the device can use them all at once.
Variants§
Utf8 = 0
ISO 10646 UTF-8, code X’00’.
IbmMicrosoftDbcs = 1
IBM/Microsoft DBCS, code X’01’. Its strings carry a two-octet code page.
JisX0208 = 2
JIS X 0208, code X’02’.
Ucs4 = 3
ISO 10646 UCS-4, code X’03’.
Ucs2 = 4
ISO 10646 UCS-2, code X’04’.
Iso8859_1 = 5
ISO 8859-1, code X’05’.
Implementations§
Trait Implementations§
Source§impl Clone for CharacterSet
impl Clone for CharacterSet
impl Copy for CharacterSet
Source§impl Debug for CharacterSet
impl Debug for CharacterSet
Source§impl Display for CharacterSet
impl Display for CharacterSet
impl Eq for CharacterSet
Source§impl Hash for CharacterSet
impl Hash for CharacterSet
Source§impl PartialEq for CharacterSet
impl PartialEq for CharacterSet
impl StructuralPartialEq for CharacterSet
Auto Trait Implementations§
impl Freeze for CharacterSet
impl RefUnwindSafe for CharacterSet
impl Send for CharacterSet
impl Sync for CharacterSet
impl Unpin for CharacterSet
impl UnsafeUnpin for CharacterSet
impl UnwindSafe for CharacterSet
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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