[−][src]Struct fm_plugin::ffi::binary_data::BinaryData
Implementations
impl BinaryData
[src]
pub fn new() -> Self
[src]
pub fn to_owned(&self) -> Self
[src]
pub fn from_buffer<T: ToText>(name: T, buffer: Vec<i8>) -> Self
[src]
pub fn from_ptr(ptr: *const fmx_BinaryData) -> Self
[src]
pub fn get_stream_count(&self) -> i32
[src]
pub fn get_stream_index(&self, stream_type: BinaryStreamType) -> i32
[src]
pub fn total_size(&self) -> u32
[src]
pub fn get_size(&self, index: i32) -> u32
[src]
pub unsafe fn get_data(&self, index: i32, offset: u32, amount: usize) -> Vec<i8>
[src]
Safety
not proven safe yet use at own risk
pub fn get_type(&self, index: i32) -> BinaryStreamType
[src]
pub fn add_stream(&self, stream_type: BinaryStreamType, buffer: Vec<i8>)
[src]
pub fn remove_stream(&self, stream_type: BinaryStreamType)
[src]
pub fn remove_all(&self)
[src]
pub fn add_header(&self, stream_type: BinaryStreamType, context: &mut u32)
[src]
pub fn append_stream(&self, context: u32, buffer: Vec<i8>)
[src]
pub fn add_footer(&self, context: u32)
[src]
pub fn get_file_names(&self) -> Text
[src]
pub fn add_file_paths(&self, file_paths: Text)
[src]
pub fn get_dimensions(&self) -> (i16, i16)
[src]
pub fn set_dimensions(&self, height: i16, width: i16)
[src]
Trait Implementations
impl Default for BinaryData
[src]
impl Drop for BinaryData
[src]
impl Eq for BinaryData
[src]
impl PartialEq<BinaryData> for BinaryData
[src]
pub fn eq(&self, other: &BinaryData) -> bool
[src]
pub fn ne(&self, other: &BinaryData) -> bool
[src]
impl StructuralEq for BinaryData
[src]
Auto Trait Implementations
impl RefUnwindSafe for BinaryData
[src]
impl !Send for BinaryData
[src]
impl !Sync for BinaryData
[src]
impl Unpin for BinaryData
[src]
impl UnwindSafe for BinaryData
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,