#[non_exhaustive]pub enum ACModel {
PVWatts,
Sandia,
ADR,
}Expand description
AC power model selection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PVWatts
PVWatts simple inverter model
Sandia
Sandia inverter model. Requires inverter parameters that are not yet
plumbed through ModelChain; selecting this variant currently panics.
See ROADMAP.md.
ADR
ADR inverter model. Requires inverter parameters that are not yet
plumbed through ModelChain; selecting this variant currently panics.
See ROADMAP.md.
Trait Implementations§
impl Copy for ACModel
impl Eq for ACModel
impl StructuralPartialEq for ACModel
Auto Trait Implementations§
impl Freeze for ACModel
impl RefUnwindSafe for ACModel
impl Send for ACModel
impl Sync for ACModel
impl Unpin for ACModel
impl UnsafeUnpin for ACModel
impl UnwindSafe for ACModel
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more