pub enum InterfaceObj {
Gos(GosValue, Option<(Meta, Vec<Binding4Runtime>)>),
Ffi(UnderlyingFfi),
}
Variants§
Gos(GosValue, Option<(Meta, Vec<Binding4Runtime>)>)
The GosValue is the underlying value of the interface.
Meta is the type info of the underlying value.
Vec
The Meta and Binding info are all determined at compile time, unless you create an interface via FFI.
Ffi(UnderlyingFfi)
Implementations§
Source§impl InterfaceObj
impl InterfaceObj
pub fn with_value( val: GosValue, meta: Option<(Meta, Vec<Binding4Runtime>)>, ) -> InterfaceObj
pub fn underlying_value(&self) -> Option<&GosValue>
pub fn equals_value(&self, val: &GosValue) -> bool
Sourcepub fn ref_sub_one(&self)
pub fn ref_sub_one(&self)
for gc
Sourcepub fn mark_dirty(&self, queue: &mut RCQueue)
pub fn mark_dirty(&self, queue: &mut RCQueue)
for gc
Trait Implementations§
Source§impl Clone for InterfaceObj
impl Clone for InterfaceObj
Source§fn clone(&self) -> InterfaceObj
fn clone(&self) -> InterfaceObj
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 moreSource§impl Debug for InterfaceObj
impl Debug for InterfaceObj
Source§impl Display for InterfaceObj
impl Display for InterfaceObj
Source§impl Hash for InterfaceObj
impl Hash for InterfaceObj
Source§impl Ord for InterfaceObj
impl Ord for InterfaceObj
Source§impl PartialEq for InterfaceObj
impl PartialEq for InterfaceObj
Source§impl PartialOrd for InterfaceObj
impl PartialOrd for InterfaceObj
impl Eq for InterfaceObj
Auto Trait Implementations§
impl Freeze for InterfaceObj
impl !RefUnwindSafe for InterfaceObj
impl !Send for InterfaceObj
impl !Sync for InterfaceObj
impl Unpin for InterfaceObj
impl !UnwindSafe for InterfaceObj
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