FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Point3DCollection

    struct · ferroui-media3d · v0.5.0

    struct Point3DCollection
    

    WPF's Point3DCollection: the positions of a mesh. Its text form is the points separated by white space, each x,y,z ("0,0,0 1,0,0 0,1,0").

    View source

    Members

    new

    fn new() -> Self
    

    An empty collection.

    Source

    from_items

    fn from_items(items: impl IntoIterator<Item = Point3D>) -> Self
    

    A collection holding items.

    Source

    parse

    fn parse(text: &str) -> Result<Self, FormatError>
    

    WPF's Point3DCollection.Parse in the invariant culture: three numbers per point, separated by commas, white space or both; an empty text is an empty collection.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ToString
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • StructuralPartialEq
    • PartialEq
    • Deref
    • Default
    • FromIterator<Point3D>
    • Debug
    • Display
    • FromStr
    • MarkupTyped

    Availability

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