#[repr(u8)]pub enum SymbolVisibility {
Default = 0,
Internal = 1,
Hidden = 2,
Protected = 3,
}Variants§
Default = 0
Visibility is specified by binding type
Internal = 1
OS specific version of STV_HIDDEN
Hidden = 2
Can only be seen inside currect component
Protected = 3
Treat as STB_LOCAL inside current component
Trait Implementations§
Source§impl BinarySerde for SymbolVisibility
impl BinarySerde for SymbolVisibility
Source§const SERIALIZED_SIZE: usize = 1usize
const SERIALIZED_SIZE: usize = 1usize
the size of this type when serialized to a packed binary format.
Source§type RecursiveArray = <u8 as BinarySerde>::RecursiveArray
type RecursiveArray = <u8 as BinarySerde>::RecursiveArray
the fixed size recursive array type that is returned when serializing this type to an array.
the length of this array is guaranteed to be equal to
Self::SERIALIZED_SIZE.Source§fn binary_serialize(&self, buf: &mut [u8], endianness: Endianness)
fn binary_serialize(&self, buf: &mut [u8], endianness: Endianness)
serialize this value into the given buffer using the given endianness. Read more
Source§fn binary_deserialize(
buf: &[u8],
endianness: Endianness,
) -> Result<Self, DeserializeError>
fn binary_deserialize( buf: &[u8], endianness: Endianness, ) -> Result<Self, DeserializeError>
deserializes the given buffer using the given endianness into a value of this type. Read more
Source§fn binary_serialize_to_array(
&self,
endianness: Endianness,
) -> Self::RecursiveArray
fn binary_serialize_to_array( &self, endianness: Endianness, ) -> Self::RecursiveArray
serialize this value to a fixed size array using the given endianness.
Source§impl Clone for SymbolVisibility
impl Clone for SymbolVisibility
Source§fn clone(&self) -> SymbolVisibility
fn clone(&self) -> SymbolVisibility
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 SymbolVisibility
impl Debug for SymbolVisibility
Source§impl Hash for SymbolVisibility
impl Hash for SymbolVisibility
Source§impl PartialEq for SymbolVisibility
impl PartialEq for SymbolVisibility
impl Copy for SymbolVisibility
impl Eq for SymbolVisibility
impl StructuralPartialEq for SymbolVisibility
Auto Trait Implementations§
impl Freeze for SymbolVisibility
impl RefUnwindSafe for SymbolVisibility
impl Send for SymbolVisibility
impl Sync for SymbolVisibility
impl Unpin for SymbolVisibility
impl UnwindSafe for SymbolVisibility
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