diff --git a/src/lib.rs b/src/lib.rs index dd806f79..447b8e5c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -148,10 +148,12 @@ pub mod io; /// [`MiniViewError`]: errors/enum.MiniViewError.html pub type MVResult = Result; +#[allow(unused)] // Only used by some backends trait ResizableWhen { fn resizable_when bool>(self, predicate: P) -> Self; } +#[allow(unused)] // Only used by some backends trait FullscreenWhen { fn fullscreen_when bool>(self, predicate: P) -> Self; }