pub struct Object2Builder { /* private fields */ }
Expand description
A 2D object.
Implementations§
source§impl Object2Builder
impl Object2Builder
pub fn add_transform(&mut self, transform: Transform2Builder)
pub fn set_series_point(&mut self, series_point: &SeriesPointBuilder)
source§impl Object2Builder
impl Object2Builder
pub fn new(geometry: Geometry2Builder) -> Object2Builder
Trait Implementations§
source§impl Clone for Object2Builder
impl Clone for Object2Builder
source§fn clone(&self) -> Object2Builder
fn clone(&self) -> Object2Builder
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<Object2Builder> for JsValue
impl From<Object2Builder> for JsValue
source§fn from(value: Object2Builder) -> Self
fn from(value: Object2Builder) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for Object2Builder
impl FromWasmAbi for Object2Builder
source§impl Into<Object2Builder> for Image2Builder
impl Into<Object2Builder> for Image2Builder
source§fn into(self) -> Object2Builder
fn into(self) -> Object2Builder
Converts this type into the (usually inferred) input type.
source§impl Into<Object2Builder> for Point2Builder
impl Into<Object2Builder> for Point2Builder
source§fn into(self) -> Object2Builder
fn into(self) -> Object2Builder
Converts this type into the (usually inferred) input type.
source§impl Into<Object2Builder> for Polygon2Builder
impl Into<Object2Builder> for Polygon2Builder
source§fn into(self) -> Object2Builder
fn into(self) -> Object2Builder
Converts this type into the (usually inferred) input type.
source§impl Into<Object2Builder> for Rect2Builder
impl Into<Object2Builder> for Rect2Builder
source§fn into(self) -> Object2Builder
fn into(self) -> Object2Builder
Converts this type into the (usually inferred) input type.
source§impl Into<Object2Builder> for Segment2Builder
impl Into<Object2Builder> for Segment2Builder
source§fn into(self) -> Object2Builder
fn into(self) -> Object2Builder
Converts this type into the (usually inferred) input type.
source§impl IntoWasmAbi for Object2Builder
impl IntoWasmAbi for Object2Builder
source§impl LongRefFromWasmAbi for Object2Builder
impl LongRefFromWasmAbi for Object2Builder
source§impl OptionFromWasmAbi for Object2Builder
impl OptionFromWasmAbi for Object2Builder
source§impl OptionIntoWasmAbi for Object2Builder
impl OptionIntoWasmAbi for Object2Builder
source§impl RefFromWasmAbi for Object2Builder
impl RefFromWasmAbi for Object2Builder
§type Anchor = Ref<'static, Object2Builder>
type Anchor = Ref<'static, Object2Builder>
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 Object2Builder
impl RefMutFromWasmAbi for Object2Builder
source§impl TryFromJsValue for Object2Builder
impl TryFromJsValue for Object2Builder
source§impl VectorFromWasmAbi for Object2Builder
impl VectorFromWasmAbi for Object2Builder
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Object2Builder]>
source§impl VectorIntoWasmAbi for Object2Builder
impl VectorIntoWasmAbi for Object2Builder
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Object2Builder]>) -> Self::Abi
source§impl WasmDescribeVector for Object2Builder
impl WasmDescribeVector for Object2Builder
Auto Trait Implementations§
impl RefUnwindSafe for Object2Builder
impl Send for Object2Builder
impl Sync for Object2Builder
impl Unpin for Object2Builder
impl UnwindSafe for Object2Builder
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.