pub struct NodeAdjacency { /* private fields */ }Expand description
節点 → その節点に接続する線材要素の添字。
Implementations§
Source§impl NodeAdjacency
impl NodeAdjacency
Sourcepub fn indices_at(&self, node: NodeId) -> &[usize]
pub fn indices_at(&self, node: NodeId) -> &[usize]
節点 node に接続する線材要素の添字(接続がなければ空)。
Sourcepub fn elements_at<'a>(
&'a self,
model: &'a Model,
node: NodeId,
) -> impl Iterator<Item = &'a ElementData> + 'a
pub fn elements_at<'a>( &'a self, model: &'a Model, node: NodeId, ) -> impl Iterator<Item = &'a ElementData> + 'a
節点 node に接続する線材要素(添字を解決したもの)。
Trait Implementations§
Source§impl Clone for NodeAdjacency
impl Clone for NodeAdjacency
Source§fn clone(&self) -> NodeAdjacency
fn clone(&self) -> NodeAdjacency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeAdjacency
impl Debug for NodeAdjacency
Source§impl Default for NodeAdjacency
impl Default for NodeAdjacency
Source§fn default() -> NodeAdjacency
fn default() -> NodeAdjacency
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeAdjacency
impl RefUnwindSafe for NodeAdjacency
impl Send for NodeAdjacency
impl Sync for NodeAdjacency
impl Unpin for NodeAdjacency
impl UnsafeUnpin for NodeAdjacency
impl UnwindSafe for NodeAdjacency
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