pub trait IsGeometryTableBase<'a>{
type Point: IsPoint;
type Normal: IsUnitVector;
type Line: IsLine<'a, Self::Point>;
type Face: IsPolygon<'a, Self::Point, Self::Normal>;
type Triangle: IsTriangle<'a, Self::Point, Self::Normal>;
type Tetrahedron: IsTetrahedron<'a, Self::Point, Self::Normal>;
type PointTable: IsGeometryTable<Key = PointId, Item = Self::Point> + ?Sized + 'a;
type LineTable: IsGeometryTable<Key = LineId, Item = Self::Line> + ?Sized + 'a;
type FaceTable: IsGeometryTable<Key = FaceId, Item = Self::Face> + ?Sized + 'a;
type TriangleTable: IsGeometryTable<Key = TriangleId, Item = Self::Triangle> + ?Sized + 'a;
type TetrahedronTable: IsGeometryTable<Key = TetrahedronId, Item = Self::Tetrahedron> + ?Sized + 'a;
// Required methods
fn point_table(&self) -> &Self::PointTable;
fn point_table_mut(&mut self) -> &mut Self::PointTable;
fn line_table(&self) -> &Self::LineTable;
fn line_table_mut(&mut self) -> &mut Self::LineTable;
fn face_table(&self) -> &Self::FaceTable;
fn face_table_mut(&mut self) -> &mut Self::FaceTable;
fn triangle_table(&self) -> &Self::TriangleTable;
fn triangle_table_mut(&mut self) -> &mut Self::TriangleTable;
fn tetrahedron_table(&self) -> &Self::TetrahedronTable;
fn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable;
}Expand description
Root registry that owns or exposes the current core geometry tables.
Required Associated Types§
Sourcetype Normal: IsUnitVector
type Normal: IsUnitVector
Unit normal type used by polygonal faces and triangles.
Sourcetype Face: IsPolygon<'a, Self::Point, Self::Normal>
type Face: IsPolygon<'a, Self::Point, Self::Normal>
Polygon face primitive stored in the face table.
Sourcetype Triangle: IsTriangle<'a, Self::Point, Self::Normal>
type Triangle: IsTriangle<'a, Self::Point, Self::Normal>
Triangle primitive stored in the triangle table.
Sourcetype Tetrahedron: IsTetrahedron<'a, Self::Point, Self::Normal>
type Tetrahedron: IsTetrahedron<'a, Self::Point, Self::Normal>
Tetrahedron primitive stored in the tetrahedron table.
Sourcetype PointTable: IsGeometryTable<Key = PointId, Item = Self::Point> + ?Sized + 'a
type PointTable: IsGeometryTable<Key = PointId, Item = Self::Point> + ?Sized + 'a
Concrete point table type.
Sourcetype LineTable: IsGeometryTable<Key = LineId, Item = Self::Line> + ?Sized + 'a
type LineTable: IsGeometryTable<Key = LineId, Item = Self::Line> + ?Sized + 'a
Concrete line table type.
Sourcetype FaceTable: IsGeometryTable<Key = FaceId, Item = Self::Face> + ?Sized + 'a
type FaceTable: IsGeometryTable<Key = FaceId, Item = Self::Face> + ?Sized + 'a
Concrete face table type.
Sourcetype TriangleTable: IsGeometryTable<Key = TriangleId, Item = Self::Triangle> + ?Sized + 'a
type TriangleTable: IsGeometryTable<Key = TriangleId, Item = Self::Triangle> + ?Sized + 'a
Concrete triangle table type.
Sourcetype TetrahedronTable: IsGeometryTable<Key = TetrahedronId, Item = Self::Tetrahedron> + ?Sized + 'a
type TetrahedronTable: IsGeometryTable<Key = TetrahedronId, Item = Self::Tetrahedron> + ?Sized + 'a
Concrete tetrahedron table type.
Required Methods§
Sourcefn point_table(&self) -> &Self::PointTable
fn point_table(&self) -> &Self::PointTable
Returns an immutable reference to the point table.
Sourcefn point_table_mut(&mut self) -> &mut Self::PointTable
fn point_table_mut(&mut self) -> &mut Self::PointTable
Returns a mutable reference to the point table.
Sourcefn line_table(&self) -> &Self::LineTable
fn line_table(&self) -> &Self::LineTable
Returns an immutable reference to the line table.
Sourcefn line_table_mut(&mut self) -> &mut Self::LineTable
fn line_table_mut(&mut self) -> &mut Self::LineTable
Returns a mutable reference to the line table.
Sourcefn face_table(&self) -> &Self::FaceTable
fn face_table(&self) -> &Self::FaceTable
Returns an immutable reference to the face table.
Sourcefn face_table_mut(&mut self) -> &mut Self::FaceTable
fn face_table_mut(&mut self) -> &mut Self::FaceTable
Returns a mutable reference to the face table.
Sourcefn triangle_table(&self) -> &Self::TriangleTable
fn triangle_table(&self) -> &Self::TriangleTable
Returns an immutable reference to the triangle table.
Sourcefn triangle_table_mut(&mut self) -> &mut Self::TriangleTable
fn triangle_table_mut(&mut self) -> &mut Self::TriangleTable
Returns a mutable reference to the triangle table.
Sourcefn tetrahedron_table(&self) -> &Self::TetrahedronTable
fn tetrahedron_table(&self) -> &Self::TetrahedronTable
Returns an immutable reference to the tetrahedron table.
Sourcefn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable
fn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable
Returns a mutable reference to the tetrahedron table.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".