pub struct Node<T> { /* private fields */ }Implementations§
Source§impl<T: Attributes> Node<T>
impl<T: Attributes> Node<T>
pub fn init() -> Self
pub fn new( parent_node_id: NodeId, reference_type_id: NodeId, browse_name: QualifiedName, attributes: T, ) -> Self
pub fn with_requested_new_node_id(self, requested_new_node_id: NodeId) -> Self
pub fn with_type_definition(self, type_definition: NodeId) -> Self
pub const fn requested_new_node_id(&self) -> Option<&NodeId>
pub const fn parent_node_id(&self) -> &NodeId
pub const fn reference_type_id(&self) -> &NodeId
pub const fn browse_name(&self) -> &QualifiedName
pub const fn type_definition(&self) -> &NodeId
pub const fn attributes(&self) -> &T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Node<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Node<T>
impl<T> !Send for Node<T>
impl<T> !Sync for Node<T>
impl<T> Unpin for Node<T>where
T: Unpin,
impl<T> !UnwindSafe for Node<T>
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