[−][src]Struct yamlette::model::yaml::binary::BinaryValue
Methods
impl BinaryValue
[src]
pub fn new(
value: Vec<u8>,
styles: CommonStyles,
alias: Option<Cow<'static, str>>
) -> BinaryValue
[src]
value: Vec<u8>,
styles: CommonStyles,
alias: Option<Cow<'static, str>>
) -> BinaryValue
pub fn to_vec(self) -> Vec<u8>
[src]
pub fn set_alias(&mut self, alias: Option<Cow<'static, str>>)
[src]
pub fn take_alias(&mut self) -> Option<Cow<'static, str>>
[src]
pub fn init_common_styles(&mut self, common_styles: CommonStyles)
[src]
pub fn issue_tag(&self) -> bool
[src]
pub fn set_issue_tag(&mut self, val: bool)
[src]
Trait Implementations
impl Tagged for BinaryValue
[src]
fn get_tag(&self) -> Cow<'static, str>
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_mut_any(&mut self) -> &mut dyn Any
[src]
impl Chord for BinaryValue
[src]
fn chord_size(&self) -> usize
[src]
fn play(
self,
orchestra: &Orchestra,
level: usize,
alias: Option<Cow<'static, str>>,
cs: CommonStyles,
vs: &mut [&mut dyn Style]
) -> Result<(), OrchError>
[src]
self,
orchestra: &Orchestra,
level: usize,
alias: Option<Cow<'static, str>>,
cs: CommonStyles,
vs: &mut [&mut dyn Style]
) -> Result<(), OrchError>
impl AsMut<Vec<u8>> for BinaryValue
[src]
impl Clone for BinaryValue
[src]
fn clone(&self) -> BinaryValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<Vec<u8>> for BinaryValue
[src]
impl From<Vec<u8>> for BinaryValue
[src]
fn from(val: Vec<u8>) -> BinaryValue
[src]
impl From<BinaryValue> for TaggedValue
[src]
fn from(value: BinaryValue) -> Self
[src]
impl Debug for BinaryValue
[src]
Auto Trait Implementations
impl Send for BinaryValue
impl Sync for BinaryValue
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,