pub struct InterfaceObj {
pub meta: GosMetadata,
/* private fields */
}
Fields§
§meta: GosMetadata
Implementations§
Source§impl InterfaceObj
impl InterfaceObj
pub fn new(meta: GosMetadata, underlying: IfaceUnderlying) -> InterfaceObj
pub fn underlying(&self) -> &IfaceUnderlying
pub fn set_underlying(&mut self, v: IfaceUnderlying)
pub fn underlying_value(&self) -> Option<&GosValue>
pub fn is_nil(&self) -> 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 duplicate 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 PartialEq for InterfaceObj
impl PartialEq 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