pub struct InterfaceDetail { /* private fields */ }
Expand description
An InterfaceDetail represents an interface type.
Implementations§
Source§impl InterfaceDetail
impl InterfaceDetail
pub fn new( methods: Vec<ObjKey>, embeddeds: Vec<TypeKey>, objs: &mut TCObjects, ) -> InterfaceDetail
pub fn new_empty() -> InterfaceDetail
pub fn methods(&self) -> &Vec<ObjKey>
pub fn methods_mut(&mut self) -> &mut Vec<ObjKey>
pub fn embeddeds(&self) -> &Vec<TypeKey>
pub fn embeddeds_mut(&mut self) -> &mut Vec<TypeKey>
pub fn all_methods(&self) -> Ref<'_, Option<Vec<ObjKey>>>
pub fn all_methods_mut(&self) -> RefMut<'_, Option<Vec<ObjKey>>>
pub fn all_methods_push(&self, t: ObjKey)
pub fn is_empty(&self) -> bool
pub fn set_empty_complete(&self)
pub fn complete(&self, objs: &TCObjects)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InterfaceDetail
impl !RefUnwindSafe for InterfaceDetail
impl !Send for InterfaceDetail
impl !Sync for InterfaceDetail
impl Unpin for InterfaceDetail
impl !UnwindSafe for InterfaceDetail
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