Struct move_binary_format::views::SignatureTokenView
source · [−]pub struct SignatureTokenView<'a, T> { /* private fields */ }
Implementations
sourceimpl<'a, T: ModuleAccess> SignatureTokenView<'a, T>
impl<'a, T: ModuleAccess> SignatureTokenView<'a, T>
pub fn new(module: &'a T, token: &'a SignatureToken) -> Self
pub fn signature_token(&self) -> &SignatureToken
pub fn signature_token_kind(&self) -> SignatureTokenKind
pub fn is_reference(&self) -> bool
pub fn is_mutable_reference(&self) -> bool
Trait Implementations
sourceimpl<'a, T: ModuleAccess> ViewInternals for SignatureTokenView<'a, T>
impl<'a, T: ModuleAccess> ViewInternals for SignatureTokenView<'a, T>
type ModuleType = &'a T
type Inner = &'a SignatureToken
fn module(&self) -> Self::ModuleType
fn as_inner(&self) -> Self::Inner
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for SignatureTokenView<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for SignatureTokenView<'a, T> where
T: Sync,
impl<'a, T> Sync for SignatureTokenView<'a, T> where
T: Sync,
impl<'a, T> Unpin for SignatureTokenView<'a, T>
impl<'a, T> UnwindSafe for SignatureTokenView<'a, T> where
T: RefUnwindSafe,
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