Struct observation_tools_client::artifacts::VertexBuilder
source · pub struct VertexBuilder { /* private fields */ }
Implementations§
source§impl VertexBuilder
impl VertexBuilder
pub fn new<P: Into<Point3Builder>>(position: P) -> VertexBuilder
source§impl VertexBuilder
impl VertexBuilder
pub fn set_normal(&mut self, normal: Vector3Builder)
Trait Implementations§
source§impl From<VertexBuilder> for JsValue
impl From<VertexBuilder> for JsValue
source§fn from(value: VertexBuilder) -> Self
fn from(value: VertexBuilder) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for VertexBuilder
impl FromWasmAbi for VertexBuilder
source§impl IntoWasmAbi for VertexBuilder
impl IntoWasmAbi for VertexBuilder
source§impl LongRefFromWasmAbi for VertexBuilder
impl LongRefFromWasmAbi for VertexBuilder
source§impl OptionFromWasmAbi for VertexBuilder
impl OptionFromWasmAbi for VertexBuilder
source§impl OptionIntoWasmAbi for VertexBuilder
impl OptionIntoWasmAbi for VertexBuilder
source§impl RefFromWasmAbi for VertexBuilder
impl RefFromWasmAbi for VertexBuilder
§type Anchor = Ref<'static, VertexBuilder>
type Anchor = Ref<'static, VertexBuilder>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for VertexBuilder
impl RefMutFromWasmAbi for VertexBuilder
source§impl TryFromJsValue for VertexBuilder
impl TryFromJsValue for VertexBuilder
source§impl VectorFromWasmAbi for VertexBuilder
impl VectorFromWasmAbi for VertexBuilder
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[VertexBuilder]>
source§impl VectorIntoWasmAbi for VertexBuilder
impl VectorIntoWasmAbi for VertexBuilder
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[VertexBuilder]>) -> Self::Abi
source§impl WasmDescribeVector for VertexBuilder
impl WasmDescribeVector for VertexBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VertexBuilder
impl Send for VertexBuilder
impl Sync for VertexBuilder
impl Unpin for VertexBuilder
impl UnwindSafe for VertexBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.