pub struct SubdEdge {
pub vertices: [u32; 2],
pub sharpness: [f64; 2],
pub tag: SubdEdgeTag,
pub sector_coefficients: [f64; 2],
}Expand description
A control-cage edge with endpoint sharpness and sector coefficients.
Fields§
§vertices: [u32; 2]Indices of the two distinct endpoint vertices.
sharpness: [f64; 2]Sharpness at the start and end endpoints.
tag: SubdEdgeTagSubdivision edge tag.
sector_coefficients: [f64; 2]Sector coefficients at the two endpoints.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubdEdge
impl<'de> Deserialize<'de> for SubdEdge
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 JsonSchema for SubdEdge
impl JsonSchema for SubdEdge
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for SubdEdge
Auto Trait Implementations§
impl Freeze for SubdEdge
impl RefUnwindSafe for SubdEdge
impl Send for SubdEdge
impl Sync for SubdEdge
impl Unpin for SubdEdge
impl UnsafeUnpin for SubdEdge
impl UnwindSafe for SubdEdge
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