Struct reaper_low::raw::ProjectStateContext
source · [−]#[repr(C)]pub struct ProjectStateContext {
pub vtable_: *const ProjectStateContext__bindgen_vtable,
}
Fields
vtable_: *const ProjectStateContext__bindgen_vtable
Implementations
sourceimpl ProjectStateContext
impl ProjectStateContext
sourcepub unsafe fn AddLine(&mut self, line: *const c_char)
pub unsafe fn AddLine(&mut self, line: *const c_char)
Attention: Not really usable yet due to the lack of the variadic parameter in AddLine.
Safety
REAPER can crash if you pass an invalid pointer.
sourcepub unsafe fn GetLine(&mut self, buf: *mut c_char, buflen: c_int) -> c_int
pub unsafe fn GetLine(&mut self, buf: *mut c_char, buflen: c_int) -> c_int
Safety
REAPER can crash if you pass an invalid pointer.
pub fn GetOutputSize(&mut self) -> c_longlong
pub fn GetTempFlag(&mut self) -> c_int
pub fn SetTempFlag(&mut self, flag: c_int)
Trait Implementations
sourceimpl Debug for ProjectStateContext
impl Debug for ProjectStateContext
sourceimpl Default for ProjectStateContext
impl Default for ProjectStateContext
sourceimpl Hash for ProjectStateContext
impl Hash for ProjectStateContext
sourceimpl PartialEq<ProjectStateContext> for ProjectStateContext
impl PartialEq<ProjectStateContext> for ProjectStateContext
sourcefn eq(&self, other: &ProjectStateContext) -> bool
fn eq(&self, other: &ProjectStateContext) -> bool
impl Eq for ProjectStateContext
impl StructuralEq for ProjectStateContext
impl StructuralPartialEq for ProjectStateContext
Auto Trait Implementations
impl RefUnwindSafe for ProjectStateContext
impl !Send for ProjectStateContext
impl !Sync for ProjectStateContext
impl Unpin for ProjectStateContext
impl UnwindSafe for ProjectStateContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more