pub enum AttachmentPoint {
Avatar(AvatarAttachmentPoint),
Hud(HudAttachmentPoint),
}
Expand description
avatar and HUD attachment points
Variants§
Implementations§
Source§impl AttachmentPoint
impl AttachmentPoint
Sourcepub fn from_repr(repr: usize) -> Option<AttachmentPoint>
pub fn from_repr(repr: usize) -> Option<AttachmentPoint>
converts the numeric enum discriminant used in the LSL (and presumably C++) code for the attachment point into the respective enum variant
https://wiki.secondlife.com/wiki/Category:LSL_Attachment
Trait Implementations§
Source§impl Clone for AttachmentPoint
impl Clone for AttachmentPoint
Source§fn clone(&self) -> AttachmentPoint
fn clone(&self) -> AttachmentPoint
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 AttachmentPoint
impl Debug for AttachmentPoint
Source§impl Display for AttachmentPoint
impl Display for AttachmentPoint
Source§impl FromStr for AttachmentPoint
impl FromStr for AttachmentPoint
Source§impl Hash for AttachmentPoint
impl Hash for AttachmentPoint
Source§impl PartialEq for AttachmentPoint
impl PartialEq for AttachmentPoint
impl Eq for AttachmentPoint
impl StructuralPartialEq for AttachmentPoint
Auto Trait Implementations§
impl Freeze for AttachmentPoint
impl RefUnwindSafe for AttachmentPoint
impl Send for AttachmentPoint
impl Sync for AttachmentPoint
impl Unpin for AttachmentPoint
impl UnwindSafe for AttachmentPoint
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