pub struct MemberHandle(/* private fields */);Expand description
Handle to a member (two-node frame element) of a FrameModel.
Produced by FrameModel::add_member.
Implementations§
Source§impl MemberHandle
impl MemberHandle
Sourcepub fn from_index(index: usize) -> Self
pub fn from_index(index: usize) -> Self
Build a handle from a raw index.
The handle is not validated here; validity is checked when it is
used against a model (returning FemError::InvalidMember). Prefer
FrameModel::add_member in normal use.
Trait Implementations§
Source§impl Clone for MemberHandle
impl Clone for MemberHandle
impl Copy for MemberHandle
Source§impl Debug for MemberHandle
impl Debug for MemberHandle
impl Eq for MemberHandle
Source§impl Hash for MemberHandle
impl Hash for MemberHandle
Source§impl Ord for MemberHandle
impl Ord for MemberHandle
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MemberHandle
impl PartialEq for MemberHandle
Source§impl PartialOrd for MemberHandle
impl PartialOrd for MemberHandle
impl StructuralPartialEq for MemberHandle
Auto Trait Implementations§
impl Freeze for MemberHandle
impl RefUnwindSafe for MemberHandle
impl Send for MemberHandle
impl Sync for MemberHandle
impl Unpin for MemberHandle
impl UnsafeUnpin for MemberHandle
impl UnwindSafe for MemberHandle
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