pub struct Solid3dCutEdgeReferences {
pub object_id: Uuid,
pub edges_references: Vec<EdgeSpecifier>,
pub cut_type: CutTypeV2,
pub tolerance: LengthUnit,
pub strategy: CutStrategy,
pub extra_face_ids: Vec<Uuid>,
pub use_legacy: bool,
}Expand description
Cut the list of edge references with the given cut parameters
Fields§
§object_id: UuidWhich object is being cut.
edges_references: Vec<EdgeSpecifier>A struct containing the information required to reference an edge.
cut_type: CutTypeV2The cut type and information required to perform the cut.
tolerance: LengthUnitThe maximum acceptable surface gap computed between the cut surfaces. Must be positive (i.e. greater than zero).
strategy: CutStrategyWhich cutting algorithm to use.
extra_face_ids: Vec<Uuid>What IDs should the resulting faces have?
If you’ve only passed one edge ID, its ID will
be the command ID used to send this command, and this
field should be empty.
If you’ve passed n IDs (to cut n edges), then
this should be length n-1, and the first edge will use
the command ID used to send this command.
use_legacy: boolIf true, use the legacy CSG algorithm.
Implementations§
Source§impl Solid3dCutEdgeReferences
impl Solid3dCutEdgeReferences
Sourcepub fn builder() -> Solid3dCutEdgeReferencesBuilder
pub fn builder() -> Solid3dCutEdgeReferencesBuilder
Create an instance of Solid3dCutEdgeReferences using the builder syntax
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for Solid3dCutEdgeReferences
impl<'arbitrary> Arbitrary<'arbitrary> for Solid3dCutEdgeReferences
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for Solid3dCutEdgeReferences
impl Clone for Solid3dCutEdgeReferences
Source§fn clone(&self) -> Solid3dCutEdgeReferences
fn clone(&self) -> Solid3dCutEdgeReferences
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Solid3dCutEdgeReferences
impl Debug for Solid3dCutEdgeReferences
Source§impl<'de> Deserialize<'de> for Solid3dCutEdgeReferences
impl<'de> Deserialize<'de> for Solid3dCutEdgeReferences
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>,
Source§impl JsonSchema for Solid3dCutEdgeReferences
impl JsonSchema for Solid3dCutEdgeReferences
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for Solid3dCutEdgeReferences
impl PartialEq for Solid3dCutEdgeReferences
Source§fn eq(&self, other: &Solid3dCutEdgeReferences) -> bool
fn eq(&self, other: &Solid3dCutEdgeReferences) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for Solid3dCutEdgeReferences
impl Serialize for Solid3dCutEdgeReferences
Source§impl TS for Solid3dCutEdgeReferences
impl TS for Solid3dCutEdgeReferences
Source§type WithoutGenerics = Solid3dCutEdgeReferences
type WithoutGenerics = Solid3dCutEdgeReferences
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or (). The only requirement for these dummy types is that
EXPORT_TO must be None. Read moreSource§type OptionInnerType = Solid3dCutEdgeReferences
type OptionInnerType = Solid3dCutEdgeReferences
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn decl_concrete(cfg: &Config) -> String
fn decl_concrete(cfg: &Config) -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl(cfg: &Config) -> String
fn decl(cfg: &Config) -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline(cfg: &Config) -> String
fn inline(cfg: &Config) -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened(cfg: &Config) -> String
fn inline_flattened(cfg: &Config) -> String
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported, relative to the output directory.
The returned path does not include any base directory. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
Source§fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export_all. Read moreSource§fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export. Read moreSource§fn export_to_string(cfg: &Config) -> Result<String, ExportError>where
Self: 'static,
fn export_to_string(cfg: &Config) -> Result<String, ExportError>where
Self: 'static,
impl StructuralPartialEq for Solid3dCutEdgeReferences
Auto Trait Implementations§
impl Freeze for Solid3dCutEdgeReferences
impl RefUnwindSafe for Solid3dCutEdgeReferences
impl Send for Solid3dCutEdgeReferences
impl Sync for Solid3dCutEdgeReferences
impl Unpin for Solid3dCutEdgeReferences
impl UnsafeUnpin for Solid3dCutEdgeReferences
impl UnwindSafe for Solid3dCutEdgeReferences
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more