pub struct BoundarySpecInput {
pub boundaries: Vec<BoundaryDefInput>,
}Expand description
Boundary specification for crate::compute_boundary_violations.
§Examples
use sdivi_core::input::BoundarySpecInput;
let spec = BoundarySpecInput { boundaries: vec![] };
assert!(spec.boundaries.is_empty());Fields§
§boundaries: Vec<BoundaryDefInput>Declared boundaries.
Trait Implementations§
Source§impl Clone for BoundarySpecInput
impl Clone for BoundarySpecInput
Source§fn clone(&self) -> BoundarySpecInput
fn clone(&self) -> BoundarySpecInput
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 BoundarySpecInput
impl Debug for BoundarySpecInput
Source§impl<'de> Deserialize<'de> for BoundarySpecInput
impl<'de> Deserialize<'de> for BoundarySpecInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BoundarySpecInput
impl PartialEq for BoundarySpecInput
Source§fn eq(&self, other: &BoundarySpecInput) -> bool
fn eq(&self, other: &BoundarySpecInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BoundarySpecInput
impl Serialize for BoundarySpecInput
impl StructuralPartialEq for BoundarySpecInput
Auto Trait Implementations§
impl Freeze for BoundarySpecInput
impl RefUnwindSafe for BoundarySpecInput
impl Send for BoundarySpecInput
impl Sync for BoundarySpecInput
impl Unpin for BoundarySpecInput
impl UnsafeUnpin for BoundarySpecInput
impl UnwindSafe for BoundarySpecInput
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