[−][src]Struct mybound::MyBound
Methods
impl<T> MyBound<T>
[src]
pub fn is_included(&self) -> bool
[src]
pub fn is_excluded(&self) -> bool
[src]
pub fn is_unbounded(&self) -> bool
[src]
pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> MyBound<U>
[src]
pub fn as_ref<U>(&self) -> MyBound<&U> where
T: AsRef<U>,
[src]
T: AsRef<U>,
pub fn as_mut<U>(&mut self) -> MyBound<&mut U> where
T: AsMut<U>,
[src]
T: AsMut<U>,
pub fn as_pin_ref<'a, U>(self: Pin<&'a MyBound<T>>) -> MyBound<Pin<&'a U>> where
T: AsRef<U>,
[src]
T: AsRef<U>,
pub fn as_pin_mut<'a, U>(
self: Pin<&'a mut MyBound<T>>
) -> MyBound<Pin<&'a mut U>> where
T: AsMut<U>,
[src]
self: Pin<&'a mut MyBound<T>>
) -> MyBound<Pin<&'a mut U>> where
T: AsMut<U>,
pub fn unwrap(self) -> T
[src]
pub fn unwrap_or(self, def: T) -> T
[src]
pub fn unwrap_or_else<F>(self, f: F) -> T where
F: FnOnce() -> T,
[src]
F: FnOnce() -> T,
pub fn expect(self, msg: &str) -> T
[src]
impl<'a, T> MyBound<&'a T>
[src]
pub fn cloned(self) -> MyBound<T> where
T: Clone,
[src]
T: Clone,
pub fn copied(self) -> MyBound<T> where
T: Copy,
[src]
T: Copy,
impl<'a, T> MyBound<&'a mut T>
[src]
pub fn cloned(self) -> MyBound<T> where
T: Clone,
[src]
T: Clone,
pub fn copied(self) -> MyBound<T> where
T: Copy,
[src]
T: Copy,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,