pub struct IntegralExtension {
pub base: String,
pub degree: u64,
}Expand description
An integral extension of a local field or p-adic field.
Fields§
§base: StringString description of the base field (e.g. “ℚ_p”).
degree: u64Degree of the extension.
Implementations§
Source§impl IntegralExtension
impl IntegralExtension
Sourcepub fn new(base: String, degree: u64) -> Self
pub fn new(base: String, degree: u64) -> Self
Create a new IntegralExtension of the given base field.
Sourcepub fn is_totally_ramified(&self) -> bool
pub fn is_totally_ramified(&self) -> bool
Returns true if the extension is totally ramified (e = degree, f = 1).
Sourcepub fn is_unramified(&self) -> bool
pub fn is_unramified(&self) -> bool
Returns true if the extension is unramified (e = 1, f = degree).
Auto Trait Implementations§
impl Freeze for IntegralExtension
impl RefUnwindSafe for IntegralExtension
impl Send for IntegralExtension
impl Sync for IntegralExtension
impl Unpin for IntegralExtension
impl UnsafeUnpin for IntegralExtension
impl UnwindSafe for IntegralExtension
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