#[repr(C)]pub struct FigKeyValue {
pub key: FigNodeId,
pub value: FigNodeId,
}Expand description
A key: value entry for fig_value_map. Mirrors FigKeyValue in fig.h.
Fields§
§key: FigNodeId§value: FigNodeIdTrait Implementations§
Source§impl Clone for FigKeyValue
impl Clone for FigKeyValue
Source§fn clone(&self) -> FigKeyValue
fn clone(&self) -> FigKeyValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FigKeyValue
Auto Trait Implementations§
impl Freeze for FigKeyValue
impl RefUnwindSafe for FigKeyValue
impl Send for FigKeyValue
impl Sync for FigKeyValue
impl Unpin for FigKeyValue
impl UnsafeUnpin for FigKeyValue
impl UnwindSafe for FigKeyValue
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