pub struct NodeSchema {
pub name: &'static str,
pub fields: Vec<SchemaField>,
}Expand description
A Webots node schema.
Fields§
§name: &'static str§fields: Vec<SchemaField>Implementations§
Source§impl NodeSchema
impl NodeSchema
pub fn get_field_type(&self, name: &str) -> Option<FieldType>
Trait Implementations§
Source§impl Clone for NodeSchema
impl Clone for NodeSchema
Source§fn clone(&self) -> NodeSchema
fn clone(&self) -> NodeSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NodeSchema
impl RefUnwindSafe for NodeSchema
impl Send for NodeSchema
impl Sync for NodeSchema
impl Unpin for NodeSchema
impl UnsafeUnpin for NodeSchema
impl UnwindSafe for NodeSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more