pub struct ArtifactUploader2d { /* private fields */ }
Expand description
An artifact group representing a 2-dimensional world. This group can only contain Object2 artifacts.
Implementations§
source§impl ArtifactUploader2d
impl ArtifactUploader2d
pub fn create_object2_js( &self, metadata: &UserMetadataBuilder, data: &Object2Builder ) -> Result<Object2UpdaterTaskHandle, ClientError>
pub fn update_object2_js( &self, artifact: &Object2Updater, data: &Object2Builder ) -> Result<(), ClientError>
pub fn series_js( &self, metadata: &UserMetadataBuilder, series: &SeriesBuilder ) -> Result<PublicSeriesIdTaskHandle, ClientError>
source§impl ArtifactUploader2d
impl ArtifactUploader2d
pub fn create_object2<M: Into<UserMetadataBuilder>, D: Into<Object2Builder> + 'static>( &self, metadata: M, data: D ) -> Result<Object2UpdaterTaskHandle, ClientError>
pub fn update_object2<D: Into<Object2Builder>>( &self, artifact: &Object2Updater, data: D ) -> Result<(), ClientError>
pub fn series<M: Into<UserMetadataBuilder>, D: Into<SeriesBuilder>>( &self, metadata: M, series: D ) -> Result<PublicSeriesIdTaskHandle, ClientError>
pub fn child_uploader_2d<M: Into<UserMetadataBuilder>>( &self, metadata: M ) -> Result<ArtifactUploader2dTaskHandle, ClientError>
Trait Implementations§
source§impl Clone for ArtifactUploader2d
impl Clone for ArtifactUploader2d
source§fn clone(&self) -> ArtifactUploader2d
fn clone(&self) -> ArtifactUploader2d
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 Debug for ArtifactUploader2d
impl Debug for ArtifactUploader2d
source§impl From<ArtifactUploader2d> for JsValue
impl From<ArtifactUploader2d> for JsValue
source§fn from(value: ArtifactUploader2d) -> Self
fn from(value: ArtifactUploader2d) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for ArtifactUploader2d
impl FromWasmAbi for ArtifactUploader2d
source§impl IntoWasmAbi for ArtifactUploader2d
impl IntoWasmAbi for ArtifactUploader2d
source§impl RefFromWasmAbi for ArtifactUploader2d
impl RefFromWasmAbi for ArtifactUploader2d
§type Anchor = Ref<'static, ArtifactUploader2d>
type Anchor = Ref<'static, ArtifactUploader2d>
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 TryFromJsValue for ArtifactUploader2d
impl TryFromJsValue for ArtifactUploader2d
source§impl VectorFromWasmAbi for ArtifactUploader2d
impl VectorFromWasmAbi for ArtifactUploader2d
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ArtifactUploader2d]>
source§impl VectorIntoWasmAbi for ArtifactUploader2d
impl VectorIntoWasmAbi for ArtifactUploader2d
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ArtifactUploader2d]>) -> Self::Abi
source§impl WasmDescribeVector for ArtifactUploader2d
impl WasmDescribeVector for ArtifactUploader2d
Auto Trait Implementations§
impl !RefUnwindSafe for ArtifactUploader2d
impl Send for ArtifactUploader2d
impl Sync for ArtifactUploader2d
impl Unpin for ArtifactUploader2d
impl !UnwindSafe for ArtifactUploader2d
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.