pub struct ChainElement<'a> {
pub model: &'a NamedModel,
pub chain: TangentChain,
}Expand description
An edge chain of the model: the model, and the chain.
Fields§
§model: &'a NamedModel§chain: TangentChainImplementations§
Source§impl ChainElement<'_>
impl ChainElement<'_>
Sourcepub fn edge_names(&self) -> GeopResult<Vec<&str>>
pub fn edge_names(&self) -> GeopResult<Vec<&str>>
The names of its edges, in the order the chain runs.
Trait Implementations§
Source§impl<'a> Clone for ChainElement<'a>
impl<'a> Clone for ChainElement<'a>
Source§fn clone(&self) -> ChainElement<'a>
fn clone(&self) -> ChainElement<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ChainElement<'a>
impl<'a> RefUnwindSafe for ChainElement<'a>
impl<'a> Send for ChainElement<'a>
impl<'a> Sync for ChainElement<'a>
impl<'a> Unpin for ChainElement<'a>
impl<'a> UnsafeUnpin for ChainElement<'a>
impl<'a> UnwindSafe for ChainElement<'a>
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