pub struct SiteRef(pub u16);Expand description
Site index within a word. Matches the 16-bit site_id field in LocationAddr.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl<'de> Deserialize<'de> for SiteRef
impl<'de> Deserialize<'de> for SiteRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for SiteRef
impl Eq for SiteRef
impl StructuralPartialEq for SiteRef
Auto Trait Implementations§
impl Freeze for SiteRef
impl RefUnwindSafe for SiteRef
impl Send for SiteRef
impl Sync for SiteRef
impl Unpin for SiteRef
impl UnsafeUnpin for SiteRef
impl UnwindSafe for SiteRef
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