pub struct LeapSpec { /* private fields */ }
Implementations
sourceimpl LeapSpec
impl LeapSpec
pub fn new(types: Vec<LeapType>) -> Self
pub fn iter_type_refs(&self) -> impl Iterator<Item = &LeapType>
pub fn iter_types(&self) -> impl Iterator<Item = LeapTypeHandle>
pub fn join(&mut self, other: LeapSpec)
pub fn get_type_ref(&self, handle: LeapTypeHandle) -> &LeapType
pub fn get_type_mut(&mut self, handle: LeapTypeHandle) -> &mut LeapType
pub fn get_handle_by_name(&self, name: &str) -> Option<LeapTypeHandle>
pub fn get_type_by_name(&self, name: &str) -> Option<&LeapType>
pub fn is_struct_name(&self, name: &str) -> bool
pub fn is_enum_name(&self, name: &str) -> bool
pub fn to_aliased(
&self,
aliases: &HashMap<String, String>
) -> Result<Self, String>
pub fn mark_recursive_props(&mut self)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LeapSpec
impl Send for LeapSpec
impl Sync for LeapSpec
impl Unpin for LeapSpec
impl UnwindSafe for LeapSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more