#[repr(C)]pub struct ComponentFieldValueBox {
pub ptr: *mut ComponentFieldValue,
}Expand description
Heap-allocated box for recursive ComponentFieldValue (e.g. Some(value)).
Uses raw pointer indirection to break the infinite size.
Fields§
§ptr: *mut ComponentFieldValueImplementations§
Source§impl ComponentFieldValueBox
impl ComponentFieldValueBox
pub fn new(v: ComponentFieldValue) -> Self
pub fn as_ref(&self) -> &ComponentFieldValue
Trait Implementations§
Source§impl Clone for ComponentFieldValueBox
impl Clone for ComponentFieldValueBox
Source§impl Debug for ComponentFieldValueBox
impl Debug for ComponentFieldValueBox
Source§impl Drop for ComponentFieldValueBox
impl Drop for ComponentFieldValueBox
Source§impl PartialEq for ComponentFieldValueBox
impl PartialEq for ComponentFieldValueBox
Auto Trait Implementations§
impl Freeze for ComponentFieldValueBox
impl RefUnwindSafe for ComponentFieldValueBox
impl !Send for ComponentFieldValueBox
impl !Sync for ComponentFieldValueBox
impl Unpin for ComponentFieldValueBox
impl UnsafeUnpin for ComponentFieldValueBox
impl UnwindSafe for ComponentFieldValueBox
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more