FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextStreamOptions

    struct · ferroui-controls · v0.5.0

    struct TextStreamOptions
    

    Stream policy supplied explicitly at each call. A matching leading BOM is accepted and removed on input; a contradictory BOM is an encoding error. RTF uses its own byte encoding and requires the default Utf8/no-BOM policy, without transcoding its byte payload. The byte bound also applies to output.

    View source

    Members

    encoding

    encoding: TextStreamEncoding
    

    Source

    write_byte_order_mark

    write_byte_order_mark: bool
    

    Source

    max_bytes

    max_bytes: usize
    

    Maximum bytes consumed or emitted. Zero permits only an empty stream.

    Source

    Trait implementations

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

    Availability

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