#[non_exhaustive]pub struct SemtechGnssDetailBuilder { /* private fields */ }
Expand description
A builder for SemtechGnssDetail
.
Implementations§
source§impl SemtechGnssDetailBuilder
impl SemtechGnssDetailBuilder
sourcepub fn provider(self, input: PositionSolverProvider) -> Self
pub fn provider(self, input: PositionSolverProvider) -> Self
The vendor of the solver object.
sourcepub fn set_provider(self, input: Option<PositionSolverProvider>) -> Self
pub fn set_provider(self, input: Option<PositionSolverProvider>) -> Self
The vendor of the solver object.
sourcepub fn get_provider(&self) -> &Option<PositionSolverProvider>
pub fn get_provider(&self) -> &Option<PositionSolverProvider>
The vendor of the solver object.
sourcepub fn type(self, input: PositionSolverType) -> Self
pub fn type(self, input: PositionSolverType) -> Self
The type of positioning solver used.
sourcepub fn set_type(self, input: Option<PositionSolverType>) -> Self
pub fn set_type(self, input: Option<PositionSolverType>) -> Self
The type of positioning solver used.
sourcepub fn get_type(&self) -> &Option<PositionSolverType>
pub fn get_type(&self) -> &Option<PositionSolverType>
The type of positioning solver used.
sourcepub fn status(self, input: PositionConfigurationStatus) -> Self
pub fn status(self, input: PositionConfigurationStatus) -> Self
The status indicating whether the solver is enabled.
sourcepub fn set_status(self, input: Option<PositionConfigurationStatus>) -> Self
pub fn set_status(self, input: Option<PositionConfigurationStatus>) -> Self
The status indicating whether the solver is enabled.
sourcepub fn get_status(&self) -> &Option<PositionConfigurationStatus>
pub fn get_status(&self) -> &Option<PositionConfigurationStatus>
The status indicating whether the solver is enabled.
sourcepub fn fec(self, input: PositionConfigurationFec) -> Self
pub fn fec(self, input: PositionConfigurationFec) -> Self
Whether forward error correction is enabled.
sourcepub fn set_fec(self, input: Option<PositionConfigurationFec>) -> Self
pub fn set_fec(self, input: Option<PositionConfigurationFec>) -> Self
Whether forward error correction is enabled.
sourcepub fn get_fec(&self) -> &Option<PositionConfigurationFec>
pub fn get_fec(&self) -> &Option<PositionConfigurationFec>
Whether forward error correction is enabled.
sourcepub fn build(self) -> SemtechGnssDetail
pub fn build(self) -> SemtechGnssDetail
Consumes the builder and constructs a SemtechGnssDetail
.
Trait Implementations§
source§impl Clone for SemtechGnssDetailBuilder
impl Clone for SemtechGnssDetailBuilder
source§fn clone(&self) -> SemtechGnssDetailBuilder
fn clone(&self) -> SemtechGnssDetailBuilder
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 SemtechGnssDetailBuilder
impl Debug for SemtechGnssDetailBuilder
source§impl Default for SemtechGnssDetailBuilder
impl Default for SemtechGnssDetailBuilder
source§fn default() -> SemtechGnssDetailBuilder
fn default() -> SemtechGnssDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SemtechGnssDetailBuilder
impl PartialEq for SemtechGnssDetailBuilder
source§fn eq(&self, other: &SemtechGnssDetailBuilder) -> bool
fn eq(&self, other: &SemtechGnssDetailBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SemtechGnssDetailBuilder
Auto Trait Implementations§
impl Freeze for SemtechGnssDetailBuilder
impl RefUnwindSafe for SemtechGnssDetailBuilder
impl Send for SemtechGnssDetailBuilder
impl Sync for SemtechGnssDetailBuilder
impl Unpin for SemtechGnssDetailBuilder
impl UnwindSafe for SemtechGnssDetailBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.