#[non_exhaustive]pub struct CarsonEarth {
pub resistance: f64,
pub reactance: f64,
pub log_depth: f64,
}Expand description
The earth return of the simplified Carson equations, in the unit system the caller works in (ohms per unit length and the length unit of its distances).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resistance: f64ω μ₀ / 8, the earth return resistance per unit length.
reactance: f64ω μ₀ / 2π, the reactance per unit length per neper of distance.
log_depth: f64ln D_e, the natural log of the equivalent earth return depth
(658.5 √(ρ / f) metres), in the caller’s distance unit.
Implementations§
Trait Implementations§
Source§impl Clone for CarsonEarth
impl Clone for CarsonEarth
impl Copy for CarsonEarth
Source§impl Debug for CarsonEarth
impl Debug for CarsonEarth
Source§impl PartialEq for CarsonEarth
impl PartialEq for CarsonEarth
impl StructuralPartialEq for CarsonEarth
Auto Trait Implementations§
impl Freeze for CarsonEarth
impl RefUnwindSafe for CarsonEarth
impl Send for CarsonEarth
impl Sync for CarsonEarth
impl Unpin for CarsonEarth
impl UnsafeUnpin for CarsonEarth
impl UnwindSafe for CarsonEarth
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