FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Encoding

    enum · ferroui-base · v0.5.0

    enum Encoding
    

    The text encodings the table readers decode (the counterpart of the System.Text.Encoding instances the reference implementation selects).

    Malformed input never fails: invalid sequences decode to U+FFFD.

    View source

    Members

    BigEndianUnicode

    BigEndianUnicode
    

    UTF-16, big-endian.

    Source

    UTF8

    UTF8
    

    UTF-8.

    Source

    get_string

    fn get_string(self: &Self, bytes: &[u8]) -> String
    

    Decodes bytes.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.