pub struct TagType { /* private fields */ }Implementations§
Source§impl TagType
impl TagType
pub fn create(view: &BinaryView, name: &str, icon: &str) -> Ref<Self>
pub fn id(&self) -> String
pub fn icon(&self) -> String
pub fn set_icon(&self, icon: &str)
pub fn name(&self) -> String
pub fn set_name(&self, name: &str)
pub fn visible(&self) -> bool
pub fn set_visible(&self, visible: bool)
pub fn ty(&self) -> TagTypeType
pub fn set_type(&self, ty: TagTypeType)
pub fn view(&self) -> Ref<BinaryView>
Trait Implementations§
Source§impl CoreArrayProvider for TagType
impl CoreArrayProvider for TagType
Source§impl ToOwned for TagType
impl ToOwned for TagType
impl Eq for TagType
impl Send for TagType
impl Sync for TagType
Auto Trait Implementations§
impl Freeze for TagType
impl RefUnwindSafe for TagType
impl Unpin for TagType
impl UnwindSafe for TagType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more