Struct observation_tools_client::artifacts::SphereBuilder
source · pub struct SphereBuilder { /* private fields */ }
Expand description
A 3D sphere.
Implementations§
source§impl SphereBuilder
impl SphereBuilder
pub fn from_number_builder(radius: NumberBuilder) -> SphereBuilder
source§impl SphereBuilder
impl SphereBuilder
pub fn new(radius: impl Into<NumberBuilder>) -> SphereBuilder
Trait Implementations§
source§impl Clone for SphereBuilder
impl Clone for SphereBuilder
source§fn clone(&self) -> SphereBuilder
fn clone(&self) -> SphereBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<SphereBuilder> for JsValue
impl From<SphereBuilder> for JsValue
source§fn from(value: SphereBuilder) -> Self
fn from(value: SphereBuilder) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for SphereBuilder
impl FromWasmAbi for SphereBuilder
source§impl Into<Geometry3Builder> for SphereBuilder
impl Into<Geometry3Builder> for SphereBuilder
source§fn into(self) -> Geometry3Builder
fn into(self) -> Geometry3Builder
Converts this type into the (usually inferred) input type.
source§impl Into<Object3Builder> for SphereBuilder
impl Into<Object3Builder> for SphereBuilder
source§fn into(self) -> Object3Builder
fn into(self) -> Object3Builder
Converts this type into the (usually inferred) input type.
source§impl IntoWasmAbi for SphereBuilder
impl IntoWasmAbi for SphereBuilder
source§impl LongRefFromWasmAbi for SphereBuilder
impl LongRefFromWasmAbi for SphereBuilder
source§impl OptionFromWasmAbi for SphereBuilder
impl OptionFromWasmAbi for SphereBuilder
source§impl OptionIntoWasmAbi for SphereBuilder
impl OptionIntoWasmAbi for SphereBuilder
source§impl RefFromWasmAbi for SphereBuilder
impl RefFromWasmAbi for SphereBuilder
§type Anchor = Ref<'static, SphereBuilder>
type Anchor = Ref<'static, SphereBuilder>
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 SphereBuilder
impl RefMutFromWasmAbi for SphereBuilder
source§impl TryFromJsValue for SphereBuilder
impl TryFromJsValue for SphereBuilder
source§impl VectorFromWasmAbi for SphereBuilder
impl VectorFromWasmAbi for SphereBuilder
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SphereBuilder]>
source§impl VectorIntoWasmAbi for SphereBuilder
impl VectorIntoWasmAbi for SphereBuilder
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SphereBuilder]>) -> Self::Abi
source§impl WasmDescribeVector for SphereBuilder
impl WasmDescribeVector for SphereBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SphereBuilder
impl Send for SphereBuilder
impl Sync for SphereBuilder
impl Unpin for SphereBuilder
impl UnwindSafe for SphereBuilder
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.