unsafe fn clear_marked_text(this: &mut Object) {
    let state = get_state(this);

    let _: () = msg_send![state.marked_text, release];
    state.marked_text = NSMutableAttributedString::alloc(nil);

    let input_context: id = msg_send![this, inputContext];
    let _: () = msg_send![input_context, discardMarkedText];
}
/// Unsafe because assumes that `this` is an instance of the `WinitView` class that we declare
/// programmatically
Unsafe because assumes that `this` is an instance of the `WinitView` class that we declare
programmatically
Unsafe because assumes that ` this ` is an instance of the ` WinitView ` class that we declare programmatically
unsafe fn clear_marked_text(this: &mut Object) {
    let state = get_state(this);
    let _: () = msg_send![state.marked_text, release];
    state.marked_text = NSMutableAttributedString::alloc(nil);
    let input_context: id = msg_send![this, inputContext];
    let _: () = msg_send![input_context, discardMarkedText];
}
unsafe fn clear_marked_text ( this : & mut Object ) { let state = get_state ( this ) ; let _ : ( ) = msg_send ! [ state marked_text release ] ; state . marked_text = NSMutableAttributedString :: alloc ( nil ) ; let input_context : id = msg_send ! [ this inputContext ] ; let _ : ( ) = msg_send ! [ input_context discardMarkedText ] ; }
Unsafe because assumes that `this` is an instance of the `WinitView` class that we declare
programmatically
Unsafe because assumes that ` this ` is an instance of the ` WinitView ` class that we declare programmatically
this
&mut Object
this
&mut Object