pub struct PositionStmt { /* private fields */ }Expand description
The “position” Statement.
Implementations§
Source§impl PositionStmt
impl PositionStmt
pub fn arg(&self) -> &PositionValueArg
Trait Implementations§
Source§impl Clone for PositionStmt
impl Clone for PositionStmt
Source§fn clone(&self) -> PositionStmt
fn clone(&self) -> PositionStmt
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 moreSource§impl Debug for PositionStmt
impl Debug for PositionStmt
Source§impl PartialEq for PositionStmt
impl PartialEq for PositionStmt
Source§impl Stmt for PositionStmt
impl Stmt for PositionStmt
Source§type Arg = PositionValueArg
type Arg = PositionValueArg
Arg type.
Source§fn new_with_arg(arg: Self::Arg) -> YangStmtwhere
Self: Sized,
fn new_with_arg(arg: Self::Arg) -> YangStmtwhere
Self: Sized,
Constructor with a single arg. Panic if it is not defined.
Source§fn has_substmts() -> bool
fn has_substmts() -> bool
Return true if this statement has sub-statements.
Source§fn opt_substmts() -> bool
fn opt_substmts() -> bool
Return true if this statement has sub-statements optionally.
Source§fn substmts_def() -> Vec<SubStmtDef>
fn substmts_def() -> Vec<SubStmtDef>
Return substatements definition.
Source§fn new_with_substmts(_arg: Self::Arg, _substmts: Self::SubStmts) -> YangStmtwhere
Self: Sized,
fn new_with_substmts(_arg: Self::Arg, _substmts: Self::SubStmts) -> YangStmtwhere
Self: Sized,
Constructor with tuple of substatements. Panic if it is not defined.
impl StructuralPartialEq for PositionStmt
Auto Trait Implementations§
impl Freeze for PositionStmt
impl RefUnwindSafe for PositionStmt
impl Send for PositionStmt
impl Sync for PositionStmt
impl Unpin for PositionStmt
impl UnwindSafe for PositionStmt
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