Struct stun::textattrs::TextAttribute
source · pub struct TextAttribute {
pub attr: AttrType,
pub text: String,
}
Fields§
§attr: AttrType
§text: String
Implementations§
Trait Implementations§
source§impl Clone for TextAttribute
impl Clone for TextAttribute
source§fn clone(&self) -> TextAttribute
fn clone(&self) -> TextAttribute
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 Default for TextAttribute
impl Default for TextAttribute
source§fn default() -> TextAttribute
fn default() -> TextAttribute
Returns the “default value” for a type. Read more
source§impl Display for TextAttribute
impl Display for TextAttribute
Auto Trait Implementations§
impl Freeze for TextAttribute
impl RefUnwindSafe for TextAttribute
impl Send for TextAttribute
impl Sync for TextAttribute
impl Unpin for TextAttribute
impl UnwindSafe for TextAttribute
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