FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PropertyObjectDraft

    struct · ferroui-designer · v0.5.0

    struct PropertyObjectDraft
    

    View source

    Members

    new

    fn new(source: &str) -> Result<Self, String>
    

    Source

    document

    fn document(self: &Self) -> &Document
    

    Source

    source

    fn source(self: &Self) -> String
    

    Source

    nodes

    fn nodes(self: &Self) -> Vec<NodeId>
    

    Source

    set_attribute

    fn set_attribute(self: &mut Self, node: NodeId, name: &str, value: Option<&str>) -> Result<(), String>
    

    Source

    set_object

    fn set_object(self: &mut Self, node: NodeId, name: &str, source: Option<&str>) -> Result<(), String>
    

    Source

    insert

    fn insert(self: &mut Self, parent: Option<NodeId>, source: &str) -> Result<(), String>
    

    Source

    remove

    fn remove(self: &mut Self, node: NodeId) -> Result<(), String>
    

    Source

    move_by

    fn move_by(self: &mut Self, node: NodeId, delta: isize) -> Result<(), String>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Same

    Availability

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