pub mod use_abs {
use leptos::reactive::wrappers::read::Signal;
use num::Float;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_abs`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_abs.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_abs` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_abs` instead."
)]
#[inline(always)]
pub fn use_abs<S, N>(x: S) -> Signal<N>
where
S: Into<Signal<N>> + Send + Sync,
N: Float + Send + Sync + 'static,
{
::leptos_use_math::use_abs::<S, N>(x)
}
}
pub mod use_and {
use leptos::reactive::wrappers::read::Signal;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_and`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_and.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_and` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_and` instead."
)]
#[inline(always)]
pub fn use_and<S1, S2>(a: S1, b: S2) -> Signal<bool>
where
S1: Into<Signal<bool>>,
S2: Into<Signal<bool>>,
{
::leptos_use_math::use_and::<S1, S2>(a, b)
}
}
pub mod use_ceil {
use leptos::reactive::wrappers::read::Signal;
use num::Float;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_ceil`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_ceil.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_ceil` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_ceil` instead."
)]
#[inline(always)]
pub fn use_ceil<S, N>(x: S) -> Signal<N>
where
S: Into<Signal<N>> + Send + Sync,
N: Float + Send + Sync + 'static,
{
::leptos_use_math::use_ceil::<S, N>(x)
}
}
pub mod use_floor {
use leptos::reactive::wrappers::read::Signal;
use num::Float;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_floor`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_floor.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_floor` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_floor` instead."
)]
#[inline(always)]
pub fn use_floor<S, N>(x: S) -> Signal<N>
where
S: Into<Signal<N>> + Send + Sync,
N: Float + Send + Sync + 'static,
{
::leptos_use_math::use_floor::<S, N>(x)
}
}
pub mod use_max {
use leptos::reactive::wrappers::read::Signal;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_max`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_max.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_max` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_max` instead."
)]
#[inline(always)]
pub fn use_max<C, S, N>(container: S) -> Signal<Option<N>>
where
S: Into<Signal<C>>,
C: Send + Sync + 'static,
for<'a> &'a C: IntoIterator<Item = &'a N>,
N: PartialOrd + Clone + Send + Sync + 'static,
{
::leptos_use_math::use_max::<C, S, N>(container)
}
}
pub mod use_min {
use leptos::reactive::wrappers::read::Signal;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_min`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_min.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_min` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_min` instead."
)]
#[inline(always)]
pub fn use_min<C, S, N>(container: S) -> Signal<Option<N>>
where
S: Into<Signal<C>>,
C: Send + Sync + 'static,
for<'a> &'a C: IntoIterator<Item = &'a N>,
N: PartialOrd + Clone + Send + Sync + 'static,
{
::leptos_use_math::use_min::<C, S, N>(container)
}
}
pub mod use_not {
use leptos::reactive::wrappers::read::Signal;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_not`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_not.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_not` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_not` instead."
)]
#[inline(always)]
pub fn use_not<S>(a: S) -> Signal<bool>
where
S: Into<Signal<bool>>,
{
::leptos_use_math::use_not::<S>(a)
}
}
pub mod use_or {
use leptos::reactive::wrappers::read::Signal;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_or`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_or.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_or` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_or` instead."
)]
#[inline(always)]
pub fn use_or<S1, S2>(a: S1, b: S2) -> Signal<bool>
where
S1: Into<Signal<bool>>,
S2: Into<Signal<bool>>,
{
::leptos_use_math::use_or::<S1, S2>(a, b)
}
}
pub mod use_round {
use leptos::reactive::wrappers::read::Signal;
use num::Float;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_math::use_round`](https://docs.rs/leptos-use-math/latest/leptos_use_math/fn.use_round.html).\n\n Add the `leptos-use-math` crate to your dependencies and use `leptos_use_math::use_round` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-math` to your dependencies and use `leptos_use_math::use_round` instead."
)]
#[inline(always)]
pub fn use_round<S, N>(x: S) -> Signal<N>
where
S: Into<Signal<N>> + Send + Sync,
N: Float + Send + Sync + 'static,
{
::leptos_use_math::use_round::<S, N>(x)
}
}