pub struct LtsPolicy { /* private fields */ }Expand description
Long-term support policy.
Implementations§
Source§impl LtsPolicy
impl LtsPolicy
Sourcepub fn declare(&mut self, window: SupportWindow)
pub fn declare(&mut self, window: SupportWindow)
Declares a support window.
Sourcepub fn windows(&self) -> &[SupportWindow]
pub fn windows(&self) -> &[SupportWindow]
Returns declared windows.
Sourcepub fn window_for(&self, major_line: &str) -> Option<&SupportWindow>
pub fn window_for(&self, major_line: &str) -> Option<&SupportWindow>
Looks up a major line window.
Sourcepub fn spatialrust_v1() -> Self
pub fn spatialrust_v1() -> Self
Default SpatialRust 1.x policy used by Epic 100.
Trait Implementations§
impl Eq for LtsPolicy
impl StructuralPartialEq for LtsPolicy
Auto Trait Implementations§
impl Freeze for LtsPolicy
impl RefUnwindSafe for LtsPolicy
impl Send for LtsPolicy
impl Sync for LtsPolicy
impl Unpin for LtsPolicy
impl UnsafeUnpin for LtsPolicy
impl UnwindSafe for LtsPolicy
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