pub enum DopingType {
NType,
PType,
Intrinsic,
}Expand description
Doping type of a semiconductor.
Variants§
NType
N-type: donor impurities (excess electrons).
PType
P-type: acceptor impurities (excess holes).
Intrinsic
Intrinsic: undoped semiconductor.
Trait Implementations§
Source§impl Clone for DopingType
impl Clone for DopingType
Source§fn clone(&self) -> DopingType
fn clone(&self) -> DopingType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DopingType
impl Debug for DopingType
Source§impl PartialEq for DopingType
impl PartialEq for DopingType
Source§fn eq(&self, other: &DopingType) -> bool
fn eq(&self, other: &DopingType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DopingType
impl Eq for DopingType
impl StructuralPartialEq for DopingType
Auto Trait Implementations§
impl Freeze for DopingType
impl RefUnwindSafe for DopingType
impl Send for DopingType
impl Sync for DopingType
impl Unpin for DopingType
impl UnsafeUnpin for DopingType
impl UnwindSafe for DopingType
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