Union tree_sitter_c2rust::core::MutableSubtree
source · #[repr(C)]
pub union MutableSubtree {
pub data: SubtreeInlineData,
pub ptr: *mut SubtreeHeapData,
}
Fields§
§data: SubtreeInlineData
§ptr: *mut SubtreeHeapData
Trait Implementations§
source§impl Clone for MutableSubtree
impl Clone for MutableSubtree
source§fn clone(&self) -> MutableSubtree
fn clone(&self) -> MutableSubtree
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for MutableSubtree
Auto Trait Implementations§
impl Freeze for MutableSubtree
impl RefUnwindSafe for MutableSubtree
impl !Send for MutableSubtree
impl !Sync for MutableSubtree
impl Unpin for MutableSubtree
impl UnwindSafe for MutableSubtree
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