pub struct SensorReadingXyzBuilder { /* private fields */ }Expand description
Builder for SensorReadingXyz.
Implementations§
Source§impl SensorReadingXyzBuilder
impl SensorReadingXyzBuilder
pub fn x<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn y<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn z<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<SensorReadingXyz, SensorReadingXyzBuilderError>
pub fn build(&self) -> Result<SensorReadingXyz, SensorReadingXyzBuilderError>
Trait Implementations§
Source§impl Clone for SensorReadingXyzBuilder
impl Clone for SensorReadingXyzBuilder
Source§fn clone(&self) -> SensorReadingXyzBuilder
fn clone(&self) -> SensorReadingXyzBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SensorReadingXyzBuilder
impl RefUnwindSafe for SensorReadingXyzBuilder
impl Send for SensorReadingXyzBuilder
impl Sync for SensorReadingXyzBuilder
impl Unpin for SensorReadingXyzBuilder
impl UnsafeUnpin for SensorReadingXyzBuilder
impl UnwindSafe for SensorReadingXyzBuilder
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