Struct grass_runtime::record::Bed4
source · [−]pub struct Bed4<'a> {
pub name: RcCowString<'a>,
/* private fields */
}Fields
name: RcCowString<'a>Implementations
sourceimpl<'a> Bed4<'a>
impl<'a> Bed4<'a>
pub fn new<T: RegionCore + Named<'a>>(region: &T) -> Self
pub fn set_name(&mut self, name: &'a str)
pub fn get_self_contained_name(&self) -> RcCowString<'static>
Methods from Deref<Target = Bed3>
Trait Implementations
sourceimpl<'a> Ord for Bed4<'a>
impl<'a> Ord for Bed4<'a>
sourceimpl<'a> PartialOrd<Bed4<'a>> for Bed4<'a>
impl<'a> PartialOrd<Bed4<'a>> for Bed4<'a>
sourcefn partial_cmp(&self, other: &Bed4<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &Bed4<'a>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl<'a> RegionCore for Bed4<'a>
impl<'a> RegionCore for Bed4<'a>
sourceimpl<'a> ToSelfContained for Bed4<'a>
impl<'a> ToSelfContained for Bed4<'a>
type SelfContained = Bed4<'static>
fn to_self_contained(&self) -> Self::SelfContained
impl<'a> Eq for Bed4<'a>
impl<'a> StructuralEq for Bed4<'a>
impl<'a> StructuralPartialEq for Bed4<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Bed4<'a>
impl<'a> !Send for Bed4<'a>
impl<'a> !Sync for Bed4<'a>
impl<'a> Unpin for Bed4<'a>
impl<'a> UnwindSafe for Bed4<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more