Enum moore_vhdl::ty2::OwnedType
source · [−]pub enum OwnedType<'t> {
EnumBasetype(EnumBasetype),
EnumSubtype(EnumSubtype<'t>),
IntegerBasetype(IntegerBasetype),
IntegerSubtype(IntegerSubtype<'t>),
FloatingBasetype(FloatingBasetype),
FloatingSubtype(FloatingSubtype<'t>),
PhysicalBasetype(PhysicalBasetype),
PhysicalSubtype(PhysicalSubtype<'t>),
Access(AccessType<'t>),
Null,
UniversalInteger,
UniversalReal,
}
Expand description
An owned type.
Variants
EnumBasetype(EnumBasetype)
EnumSubtype(EnumSubtype<'t>)
IntegerBasetype(IntegerBasetype)
IntegerSubtype(IntegerSubtype<'t>)
FloatingBasetype(FloatingBasetype)
FloatingSubtype(FloatingSubtype<'t>)
PhysicalBasetype(PhysicalBasetype)
PhysicalSubtype(PhysicalSubtype<'t>)
Access(AccessType<'t>)
Null
UniversalInteger
UniversalReal
Trait Implementations
impl<'t> Eq for OwnedType<'t>
impl<'t> StructuralEq for OwnedType<'t>
impl<'t> StructuralPartialEq for OwnedType<'t>
Auto Trait Implementations
impl<'t> !RefUnwindSafe for OwnedType<'t>
impl<'t> !Send for OwnedType<'t>
impl<'t> !Sync for OwnedType<'t>
impl<'t> Unpin for OwnedType<'t>
impl<'t> !UnwindSafe for OwnedType<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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