pub struct InstanceParameter { /* private fields */ }
Implementations§
Source§impl InstanceParameter
impl InstanceParameter
pub fn name(&self) -> &str
pub fn is_nullable(&self) -> Option<bool>
pub fn is_allow_none(&self) -> Option<bool>
pub fn direction(&self) -> Option<Direction>
pub fn is_caller_allocates(&self) -> Option<bool>
pub fn transfer_ownership(&self) -> Option<TransferOwnership>
pub fn ty(&self) -> Option<&Type>
Trait Implementations§
Source§impl Clone for InstanceParameter
impl Clone for InstanceParameter
Source§fn clone(&self) -> InstanceParameter
fn clone(&self) -> InstanceParameter
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 InstanceParameter
impl Debug for InstanceParameter
Source§impl Documentable for InstanceParameter
impl Documentable for InstanceParameter
fn doc(&self) -> Option<&Documentation>
fn doc_deprecated(&self) -> Option<&DocDeprecated>
fn doc_stability(&self) -> Option<&DocStability>
fn doc_version(&self) -> Option<&DocVersion>
fn source_position(&self) -> Option<&SourcePosition>
Auto Trait Implementations§
impl Freeze for InstanceParameter
impl RefUnwindSafe for InstanceParameter
impl Send for InstanceParameter
impl Sync for InstanceParameter
impl Unpin for InstanceParameter
impl UnwindSafe for InstanceParameter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)