PropertyObjectDraft
struct · ferroui-designer · v0.5.0
struct PropertyObjectDraft
Members
new
fn new(source: &str) -> Result<Self, String>
document
fn document(self: &Self) -> &Document
source
fn source(self: &Self) -> String
nodes
fn nodes(self: &Self) -> Vec<NodeId>
set_attribute
fn set_attribute(self: &mut Self, node: NodeId, name: &str, value: Option<&str>) -> Result<(), String>
set_object
fn set_object(self: &mut Self, node: NodeId, name: &str, source: Option<&str>) -> Result<(), String>
insert
fn insert(self: &mut Self, parent: Option<NodeId>, source: &str) -> Result<(), String>
remove
fn remove(self: &mut Self, node: NodeId) -> Result<(), String>
move_by
fn move_by(self: &mut Self, node: NodeId, delta: isize) -> Result<(), String>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherSame
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.