pub struct ElementBlock<U, I>{
pub entity_dim: I,
pub entity_tag: I,
pub element_type: ElementType,
pub element_tags: Option<HashMap<U, usize>>,
pub elements: Vec<Element<U>>,
}
Expand description
A block of elements
Fields§
§entity_dim: I
The number of dimensions of elements in this block
entity_tag: I
The tag of the geometric entity this block of elements is associated to
element_type: ElementType
The type of all elements in this block
Maps the tag of each element to its linear index in this block
Element tags (used to reference elements from entities) can be non-sequential (i.e. sparse). This map is only present if the element tags of this block are actually sparse. Otherwise it is None.
elements: Vec<Element<U>>
The elements of this block
Trait Implementations§
Source§impl<U, I> Clone for ElementBlock<U, I>
impl<U, I> Clone for ElementBlock<U, I>
Source§fn clone(&self) -> ElementBlock<U, I>
fn clone(&self) -> ElementBlock<U, I>
Returns a copy 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<U, I> Debug for ElementBlock<U, I>
impl<U, I> Debug for ElementBlock<U, I>
Source§impl<U, I> PartialEq for ElementBlock<U, I>
impl<U, I> PartialEq for ElementBlock<U, I>
impl<U, I> StructuralPartialEq for ElementBlock<U, I>
Auto Trait Implementations§
impl<U, I> Freeze for ElementBlock<U, I>where
I: Freeze,
impl<U, I> RefUnwindSafe for ElementBlock<U, I>where
I: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, I> Send for ElementBlock<U, I>
impl<U, I> Sync for ElementBlock<U, I>
impl<U, I> Unpin for ElementBlock<U, I>
impl<U, I> UnwindSafe for ElementBlock<U, I>where
I: UnwindSafe,
U: UnwindSafe,
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